FIX: pinned-button sometimes not shown when unpinned is null
This commit is contained in:
parent
90dd1609eb
commit
01f0b56331
|
@ -17,6 +17,6 @@ export default Ember.Component.extend({
|
|||
|
||||
@computed("topic.pinned", "topic.deleted", "topic.unpinned")
|
||||
hidden(pinned, deleted, unpinned) {
|
||||
return deleted || (!pinned && !unpinned);
|
||||
return deleted || (pinned === false && unpinned === false);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue