Closed janwerkhoven closed 7 years ago
Oh, shame on me. It's a promise, of course it won't work calling this.store.findAll('transaction')
in a debugger;
. The example below works like a charm, thanks!
model() {
return this.store.findAll('user');
},
afterModel(model) {
debugger;
}
So on
.save()
records are successfully persisted to the localstorage. I seem unable to retrieve them after having refreshed the page. Doingthis.store.findAll('user').mapBy('name')
keeps returning[]
.What am I forgetting?