forked from FoundKeyGang/FoundKey
client: fix drive item updates inserting duplicates
The issue was that the detection in the drive component did not see the contents of `paginationElem.items` because the ref was not properly exposed. The value of the exposed property was a Proxy of an empty array that was not a reference to the actual items array. Thus, when checking if the item already exists or not, it never saw the item and added it as if new. closes FoundKeyGang/FoundKey#367 closes FoundKeyGang/FoundKey#368 Changelog: Fixed
This commit is contained in:
parent
83fec649ea
commit
8c690622a1
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ onDeactivated(() => {
|
|||
});
|
||||
|
||||
defineExpose({
|
||||
items,
|
||||
items: $$(items),
|
||||
queue,
|
||||
backed,
|
||||
reload,
|
||||
|
|
Loading…
Reference in a new issue