mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:23:37 +08:00
Revert "FIX: pinned-button sometimes not shown when unpinned is null"
This reverts commit 01f0b56331
.
This commit is contained in:
parent
b875d17e1f
commit
18114c7bdb
|
@ -17,6 +17,6 @@ export default Ember.Component.extend({
|
|||
|
||||
@computed("topic.pinned", "topic.deleted", "topic.unpinned")
|
||||
hidden(pinned, deleted, unpinned) {
|
||||
return deleted || (pinned === false && unpinned === false);
|
||||
return deleted || (!pinned && !unpinned);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user