From 8711d56b790373ac958ce403bf6b78fe8ac61ba4 Mon Sep 17 00:00:00 2001 From: Cilibiu Bogdan Date: Wed, 5 Sep 2018 14:45:13 +0300 Subject: [PATCH] [ACA-1755] Favorites - User can't unfavorite a file opened in viewer (#605) --- src/assets/app.extensions.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/assets/app.extensions.json b/src/assets/app.extensions.json index d576f6278..bdfec3d50 100644 --- a/src/assets/app.extensions.json +++ b/src/assets/app.extensions.json @@ -29,7 +29,7 @@ { "type": "rule", "value": "app.navigation.isRecentFiles" }, { "type": "rule", "value": "app.navigation.isSharedFiles" }, { "type": "rule", "value": "app.navigation.isSearchResults" }, - { "type": "rule", "value": "app.navigation.isPreview" } + { "type": "rule", "value": "app.navigation.isFavorites" } ] } ] @@ -41,7 +41,8 @@ { "type": "rule", "value": "app.selection.canAddFavorite" }, { "type": "rule", "value": "app.navigation.isNotRecentFiles" }, { "type": "rule", "value": "app.navigation.isNotSharedFiles" }, - { "type": "rule", "value": "app.navigation.isNotSearchResults" } + { "type": "rule", "value": "app.navigation.isNotSearchResults" }, + { "type": "rule", "value": "app.navigation.isNotFavorites" } ] }, { @@ -51,7 +52,8 @@ { "type": "rule", "value": "app.selection.canRemoveFavorite" }, { "type": "rule", "value": "app.navigation.isNotRecentFiles" }, { "type": "rule", "value": "app.navigation.isNotSharedFiles" }, - { "type": "rule", "value": "app.navigation.isNotSearchResults" } + { "type": "rule", "value": "app.navigation.isNotSearchResults" }, + { "type": "rule", "value": "app.navigation.isNotFavorites" } ] }, {