From 085298f14c27615f64707a0095c8f4a9e8ea8fbe Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 4 Sep 2020 17:08:12 +0300 Subject: [PATCH] Sync manager: fix handling of removedCollections. --- src/store/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/actions.ts b/src/store/actions.ts index addc61b..efe23e3 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -54,8 +54,8 @@ export const setCacheCollection = createAction( export const unsetCacheCollection = createAction( "UNSET_CACHE_COLLECTION", - (_colMgr: Etebase.CollectionManager, _colUid: string) => { - return undefined; + (_colMgr: Etebase.CollectionManager, colUid: string) => { + return colUid; }, (_colMgr: Etebase.CollectionManager, colUid: string) => { return {