Skip to content
Snippets Groups Projects
Commit 44dea6f5 authored by Julian's avatar Julian
Browse files

Fix iteration of items

parent 978736f5
No related branches found
No related tags found
1 merge request!1208Resolve "Data management for the Models `Room` and `SchoolTerm`"
......@@ -94,7 +94,8 @@ export default {
const storedDataKey = Object.keys(storedData)[0];
for (const item in this.items) {
for (const item of this.items) {
console.debug("Removing item from store:", item);
// Remove item from stored data
const index = storedData[storedDataKey].findIndex(
(m) => m.id === item.id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment