mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:44:40 +08: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