FIX: new/unread tabs should re-appear dynamically

This commit is contained in:
Arpit Jalan 2018-04-04 00:08:31 +05:30
parent b7ecdb72d6
commit 88e4c0ec3a
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ export default Ember.Component.extend(bufferedRender({
if (!this.get('active') && this.currentUser && this.currentUser.trust_level > 0 && (content.get('name') === "new" || content.get('name') === "unread") && (content.get('count') < 1)) {
this.set('hidden', true);
} else {
this.set('hidden', false);
}
buffer.push(`<a href='${href}'>`);