mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Don't include null
class when rendering the pinned dropdown
This commit is contained in:
parent
e80caab247
commit
3e83c34785
@ -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;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user