2
0
Fork 0
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:
Robin Ward 2017-12-03 16:20:35 -05:00
parent e80caab247
commit 3e83c34785

View file

@ -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;
},