From 10e48013718f2bb7738806c5960aebb5d7b6d793 Mon Sep 17 00:00:00 2001 From: NejcZdovc Date: Tue, 12 Sep 2017 09:45:15 +0200 Subject: [PATCH] Fixes removal of bookmarkLocation cache when removin bookmark folder Resolves #10908 Auditors: Test Plan: --- app/common/state/bookmarksState.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/common/state/bookmarksState.js b/app/common/state/bookmarksState.js index 6d0b38c2a27..d8e13911a95 100644 --- a/app/common/state/bookmarksState.js +++ b/app/common/state/bookmarksState.js @@ -216,6 +216,8 @@ const bookmarksState = { if (syncEnabled) { removedBookmarks.push(bookmark.toJS()) } + + state = bookmarkLocationCache.removeCacheKey(state, bookmark.get('location'), bookmark.get('key')) return false })