1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

fix: debug

This commit is contained in:
Sami Mazouz
2025-04-18 13:37:44 +01:00
parent 8c03094d6d
commit 42904fee35

View File

@@ -26,7 +26,6 @@ export interface IBadgeAttrs extends ComponentAttrs {
*/
export default class Badge<CustomAttrs extends IBadgeAttrs = IBadgeAttrs> extends Component<CustomAttrs> {
view() {
console.log(this.attrs);
const { type, icon: iconName, label, color, style = {}, ...attrs } = this.attrs;
const className = classList('Badge', [type && `Badge--${type}`], attrs.className, textContrastClass(color));