Web: Client: InfoPanel: History. fix crash
This commit is contained in:
parent
3f0af41170
commit
52f7992393
@ -114,7 +114,7 @@ export default inject<TStore>(({ dialogsStore, infoPanelStore }) => {
|
|||||||
const { infoPanelSelection } = infoPanelStore;
|
const { infoPanelSelection } = infoPanelStore;
|
||||||
const { setLinkParams, setEditLinkPanelIsVisible } = dialogsStore;
|
const { setLinkParams, setEditLinkPanelIsVisible } = dialogsStore;
|
||||||
const { id, roomType, security } = infoPanelSelection!;
|
const { id, roomType, security } = infoPanelSelection!;
|
||||||
const { EditRoom } = security!;
|
const { EditRoom } = security || {};
|
||||||
|
|
||||||
const isFormRoom = roomType === RoomsType.FormRoom;
|
const isFormRoom = roomType === RoomsType.FormRoom;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user