Make Prettier happy
This commit is contained in:
parent
5957991340
commit
e50e4b6cc6
|
@ -49,7 +49,10 @@ export default Ember.Component.extend({
|
|||
@computed("presenceUsers", "currentUser.{id,ignored_users}")
|
||||
users(users, currentUser) {
|
||||
const ignoredUsers = currentUser.ignored_users || [];
|
||||
return (users || []).filter(user => user.id !== currentUser.id && !ignoredUsers.includes(user.username));
|
||||
return (users || []).filter(
|
||||
user =>
|
||||
user.id !== currentUser.id && !ignoredUsers.includes(user.username)
|
||||
);
|
||||
},
|
||||
|
||||
shouldDisplay: Ember.computed.gt("users.length", 0)
|
||||
|
|
Loading…
Reference in New Issue