DEV: add class name to component wrapper (#19)

This commit is contained in:
Kris 2023-03-30 12:57:19 -04:00 committed by GitHub
parent 0949a8108a
commit 50fc3a7295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import MountWidget from "discourse/components/mount-widget";
export default class CategoryIcon extends MountWidget { export default class CategoryIcon extends MountWidget {
widget = "category-icon"; widget = "category-icon";
classNames = ["category-icon-widget-wrapper"];
buildArgs() { buildArgs() {
return { category: this.category }; return { category: this.category };