From 44de9ce824cf2de7ef0ce7dd036550541affd31c Mon Sep 17 00:00:00 2001 From: mushka Date: Fri, 7 Oct 2022 16:48:45 +0300 Subject: [PATCH] fixed noItem view appearing on viewDetails context click --- packages/common/store/InfoPanelStore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/common/store/InfoPanelStore.js b/packages/common/store/InfoPanelStore.js index e5cfa1cedf..91862e42b4 100644 --- a/packages/common/store/InfoPanelStore.js +++ b/packages/common/store/InfoPanelStore.js @@ -36,11 +36,13 @@ class InfoPanelStore { }; normalizeSelection = (selection) => { + const isContextMenuSelection = selection.isContextMenuSelection; return { ...selection, isRoom: selection.isRoom || !!selection.roomType, icon: this.getItemIcon(selection, 32), isContextMenuSelection: false, + wasContextMenuSelection: !!isContextMenuSelection, }; };