mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
fix: debug
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user