mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: Don't include null class when rendering the pinned dropdown
This commit is contained in:
@@ -19,7 +19,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||
|
||||
content.name = `${title}${iconHTML("caret-down")}`.htmlSafe();
|
||||
content.dataName = title;
|
||||
content.icon = `thumb-tack ${state === "unpinned" ? "unpinned" : null}`;
|
||||
content.icon = `thumb-tack${state === "unpinned" ? " unpinned" : ''}`;
|
||||
return content;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user