File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { A } from '@ember/array' ;
2
2
import Controller from '@ember/controller' ;
3
- import { computed } from '@ember/object' ;
4
3
5
4
import { task } from 'ember-concurrency' ;
6
5
import { alias } from 'macro-decorators' ;
@@ -17,22 +16,18 @@ export default class DashboardController extends Controller {
17
16
@alias ( 'model.myFollowing' ) myFollowing ;
18
17
@alias ( 'model.myStats' ) myStats ;
19
18
20
- @computed ( 'myCrates.[]' )
21
19
get visibleCrates ( ) {
22
20
return this . myCrates . slice ( 0 , TO_SHOW ) ;
23
21
}
24
22
25
- @computed ( 'myFollowing.[]' )
26
23
get visibleFollowing ( ) {
27
24
return this . myFollowing . slice ( 0 , TO_SHOW ) ;
28
25
}
29
26
30
- @computed ( 'myCrates.[]' )
31
27
get hasMoreCrates ( ) {
32
28
return this . myCrates . length > TO_SHOW ;
33
29
}
34
30
35
- @computed ( 'myFollowing.[]' )
36
31
get hasMoreFollowing ( ) {
37
32
return this . myFollowing . length > TO_SHOW ;
38
33
}
You can’t perform that action at this time.
0 commit comments