fixed noItem view appearing on viewDetails context click
This commit is contained in:
parent
f0c6c21030
commit
44de9ce824
@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user