Merge pull request #1754 from ONLYOFFICE/feature/fix-bug-react
[DE] Fix Bug 54137
This commit is contained in:
commit
4f21c9eb56
|
@ -242,7 +242,7 @@ class ContextMenu extends ContextMenuController {
|
|||
} else {
|
||||
const { t } = this.props;
|
||||
const _t = t("ContextMenu", {returnObjects: true});
|
||||
const { canViewComments, canCoAuthoring, canComments, dataDoc } = this.props;
|
||||
const { canViewComments, canCoAuthoring, canComments } = this.props;
|
||||
|
||||
const api = Common.EditorApi.get();
|
||||
const inToc = api.asc_GetTableOfContentsPr(true);
|
||||
|
@ -290,7 +290,7 @@ class ContextMenu extends ContextMenuController {
|
|||
});
|
||||
}
|
||||
|
||||
if ( canFillForms && dataDoc.fileType !== 'oform' && !locked ) {
|
||||
if ( canFillForms && canCopy && !locked ) {
|
||||
itemsIcon.push({
|
||||
event: 'paste',
|
||||
icon: 'icon-paste'
|
||||
|
|
Loading…
Reference in a new issue