diff --git a/src/obsidian/implementations/CustomArrayDictImpl.ts b/src/obsidian/implementations/CustomArrayDictImpl.ts index d47c76ca..cfada9fe 100644 --- a/src/obsidian/implementations/CustomArrayDictImpl.ts +++ b/src/obsidian/implementations/CustomArrayDictImpl.ts @@ -7,7 +7,7 @@ export class CustomArrayDictImpl implements CustomArrayDict { let values = this.get(key); if (!values) { values = []; - this.data.set(key, []); + this.data.set(key, values); } if (!values.includes(value)) {