Skip to content

Commit

Permalink
FIX: new/unread tabs should re-appear dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitjalan committed Apr 3, 2018
1 parent b7ecdb7 commit 88e4c0e
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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}'>`);
Expand Down

0 comments on commit 88e4c0e

Please sign in to comment.