Skip to content

Commit ccc3b80

Browse files
locksTurbo87
authored andcommitted
Fixes #1099 - "pushObjects is not a function"
1 parent f6c70b1 commit ccc3b80

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/controllers/dashboard.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Controller from '@ember/controller';
2+
import { A } from '@ember/array';
23
import { computed } from '@ember/object';
34
import { inject as service } from '@ember/service';
45

@@ -14,9 +15,9 @@ export default Controller.extend({
1415
this.fetchingFeed = true;
1516
this.loadingMore = false;
1617
this.hasMore = false;
17-
this.myCrates = [];
18-
this.myFollowing = [];
19-
this.myFeed = [];
18+
this.myCrates = A([]);
19+
this.myFollowing = A([]);
20+
this.myFeed = A([]);
2021
this.myStats = 0;
2122
},
2223

0 commit comments

Comments
 (0)