Make Prettier happy

This commit is contained in:
Penar Musaraj 2019-04-08 12:03:41 -04:00
parent 5957991340
commit e50e4b6cc6
1 changed files with 4 additions and 1 deletions

View File

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