Revert "FIX: pinned-button sometimes not shown when unpinned is null"

This reverts commit 01f0b56331.
This commit is contained in:
Joffrey JAFFEUX 2017-09-12 01:03:16 +02:00
parent b875d17e1f
commit 18114c7bdb
1 changed files with 1 additions and 1 deletions

View File

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