FIX: Resolve yarn lint complaint

This commit is contained in:
Martin Brennan 2020-10-07 14:08:07 +10:00
parent a4665c27e8
commit 26ccc36b5b
No known key found for this signature in database
GPG Key ID: A08063EEF3EA26A4
1 changed files with 5 additions and 3 deletions

View File

@ -67,9 +67,11 @@ export default Ember.Controller.extend({
@computed("groups")
groupOptions(groups) {
return groups.filter(g => g.id !== 0).map(g => {
return { id: g.id.toString(), name: g.name };
});
return groups
.filter((g) => g.id !== 0)
.map((g) => {
return { id: g.id.toString(), name: g.name };
});
},
@computed("selectedItem", "selectedItem.dirty")