File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,23 +19,23 @@ export default Ember.Controller.extend({
19
19
this . myStats = 0 ;
20
20
} ,
21
21
22
- visibleCrates : computed ( 'myCreates ' , function ( ) {
22
+ visibleCrates : computed ( 'myCrates.[] ' , function ( ) {
23
23
return this . get ( 'myCrates' ) . slice ( 0 , TO_SHOW ) ;
24
24
} ) ,
25
25
26
- visibleFollowing : computed ( 'myFollowing' , function ( ) {
26
+ visibleFollowing : computed ( 'myFollowing.[] ' , function ( ) {
27
27
return this . get ( 'myFollowing' ) . slice ( 0 , TO_SHOW ) ;
28
28
} ) ,
29
29
30
30
visibleStats : computed ( 'myStats' , function ( ) {
31
31
return this . get ( 'myStats' ) ;
32
32
} ) ,
33
33
34
- hasMoreCrates : computed ( 'myCreates ' , function ( ) {
34
+ hasMoreCrates : computed ( 'myCrates.[] ' , function ( ) {
35
35
return this . get ( 'myCrates.length' ) > TO_SHOW ;
36
36
} ) ,
37
37
38
- hasMoreFollowing : computed ( 'myFollowing' , function ( ) {
38
+ hasMoreFollowing : computed ( 'myFollowing.[] ' , function ( ) {
39
39
return this . get ( 'myFollowing.length' ) > TO_SHOW ;
40
40
} ) ,
41
41
You can’t perform that action at this time.
0 commit comments