File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change
1
+ /* eslint-disable ember/no-computed-properties-in-native-classes */
1
2
import { classNames } from '@ember-decorators/component' ;
2
3
import { computed } from '@ember/object' ;
3
4
import Component from '@ember/component' ;
@@ -24,10 +25,8 @@ export default class ApiIndexFilter extends Component {
24
25
}
25
26
26
27
filterItems ( itemType ) {
27
- let items =
28
- this . model [ `${ itemType } ` ] === undefined
29
- ? [ ]
30
- : this . model [ `${ itemType } ` ] ;
28
+ let items =
29
+ this . model [ itemType ] === undefined ? [ ] : this . model [ `${ itemType } ` ] ;
31
30
if ( ! this . filterData . showInherited ) {
32
31
items = items . filter ( ( item ) => item . inherited !== true ) ;
33
32
}
Original file line number Diff line number Diff line change
1
+ /* eslint-disable ember/no-computed-properties-in-native-classes */
1
2
import { computed } from '@ember/object' ;
2
3
import Component from '@ember/component' ;
3
4
You can’t perform that action at this time.
0 commit comments