mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: Don't include null
class when rendering the pinned dropdown
This commit is contained in:
parent
e80caab247
commit
3e83c34785
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue