Skip to content

Commit

Permalink
fix: CustomArrayDictImpl.add
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaoumov committed Nov 13, 2024
1 parent 30c5a56 commit bafba5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obsidian/implementations/CustomArrayDictImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class CustomArrayDictImpl<T> implements CustomArrayDict<T> {
let values = this.get(key);
if (!values) {
values = [];
this.data.set(key, []);
this.data.set(key, values);
}

if (!values.includes(value)) {
Expand Down

0 comments on commit bafba5c

Please sign in to comment.