Merge pull request #559 from ONLYOFFICE/bugfix/info-panel-history

Web: Client: InfoPanel: History. fix crash
This commit is contained in:
Alexey Safronov 2024-07-26 13:56:02 +04:00 committed by GitHub
commit 6ce5cc24ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,7 +114,7 @@ export default inject<TStore>(({ dialogsStore, infoPanelStore }) => {
const { infoPanelSelection } = infoPanelStore;
const { setLinkParams, setEditLinkPanelIsVisible } = dialogsStore;
const { id, roomType, security } = infoPanelSelection!;
const { EditRoom } = security!;
const { EditRoom } = security || {};
const isFormRoom = roomType === RoomsType.FormRoom;