Skip to content

Commit b11a7b6

Browse files
committed
fix(CachingAdapter): Fix incremental index updates
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 9512d18 commit b11a7b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/adapters/Caching.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default class CachingAdapter implements Adapter, BulkImportResource<TItem
113113
this.bookmarksCache.removeFromIndex(foundBookmark)
114114
foundNewFolder.children.push(foundBookmark)
115115
foundBookmark.parentId = newBm.parentId
116-
this.bookmarksCache.updateIndex(newBm)
116+
this.bookmarksCache.updateIndex(foundBookmark)
117117
}
118118

119119
async removeBookmark(bookmark:Bookmark<TItemLocation>): Promise<void> {

0 commit comments

Comments
 (0)