When removing an item from localStorage the ID is nor removed from the collection.
The line with issues is this:
var newRecords = (0, _underscore.without)(this.records, model);
I have replaced it with this and now all works:
var newRecords = (0, _underscore.without)(this.records, model.id + '');
Regards,
Bogdan
When removing an item from localStorage the ID is nor removed from the collection. The line with issues is this: var newRecords = (0, _underscore.without)(this.records, model); I have replaced it with this and now all works: var newRecords = (0, _underscore.without)(this.records, model.id + ''); Regards, Bogdan