Skip to content

Commit

Permalink
make manual splice reactive
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectronicBlueberry committed Mar 15, 2024
1 parent 5bbdb38 commit 9e2b333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/stores/collectionElementsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const useCollectionElementsStore = defineStore("collectionElementsStore",
const to = from + data.fetchedElements.length;

for (let index = from; index < to; index++) {
storedElements[index] = ensureDefined(data.fetchedElements[index - from]);
set(storedElements, index, ensureDefined(data.fetchedElements[index - from]));
}

set(storedCollectionElements.value, key, storedElements);
Expand Down

0 comments on commit 9e2b333

Please sign in to comment.