FIX: new/unread tabs should re-appear dynamically
This commit is contained in:
parent
b7ecdb72d6
commit
88e4c0ec3a
|
@ -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}'>`);
|
||||
|
|
Loading…
Reference in New Issue