Skip to content

Commit c9ef47c

Browse files
committed
dashboard: Remove unnecessary @computed decorator
1 parent 803a8bb commit c9ef47c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/controllers/dashboard.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { A } from '@ember/array';
22
import Controller from '@ember/controller';
3-
import { computed } from '@ember/object';
43

54
import { task } from 'ember-concurrency';
65
import { alias } from 'macro-decorators';
@@ -17,22 +16,18 @@ export default class DashboardController extends Controller {
1716
@alias('model.myFollowing') myFollowing;
1817
@alias('model.myStats') myStats;
1918

20-
@computed('myCrates.[]')
2119
get visibleCrates() {
2220
return this.myCrates.slice(0, TO_SHOW);
2321
}
2422

25-
@computed('myFollowing.[]')
2623
get visibleFollowing() {
2724
return this.myFollowing.slice(0, TO_SHOW);
2825
}
2926

30-
@computed('myCrates.[]')
3127
get hasMoreCrates() {
3228
return this.myCrates.length > TO_SHOW;
3329
}
3430

35-
@computed('myFollowing.[]')
3631
get hasMoreFollowing() {
3732
return this.myFollowing.length > TO_SHOW;
3833
}

0 commit comments

Comments
 (0)