Fix wopi config

This commit is contained in:
Julia Radzhabova 2021-04-30 13:06:42 +03:00
parent bce63ab546
commit 5c8114626a

View file

@ -230,7 +230,7 @@ div {
'onRequestEditRights': fileInfo.EditModePostMessage ? onRequestEditRights : undefined,
"onError": onError,
"onRequestClose": fileInfo. ClosePostMessage ? onRequestClose : undefined,
"onRequestRename": fileInfo.SupportsRename ? onRequestRename : undefined,
"onRequestRename": fileInfo.SupportsRename && fileInfo.UserCanRename ? onRequestRename : undefined,
"requestSharingSettings": fileInfo.FileSharingPostMessage ? requestSharingSettings : undefined
}
};