From 4d55d56aa590734d46db1513ee538324a62a76fc Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Sun, 10 Jul 2022 14:52:20 +0400 Subject: [PATCH] [DE mobile] Fix Bug 58047 --- apps/documenteditor/mobile/src/view/add/AddOther.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/add/AddOther.jsx b/apps/documenteditor/mobile/src/view/add/AddOther.jsx index 1f48b8685..15b8cf7db 100644 --- a/apps/documenteditor/mobile/src/view/add/AddOther.jsx +++ b/apps/documenteditor/mobile/src/view/add/AddOther.jsx @@ -159,7 +159,8 @@ const AddOther = props => { let isShape = storeFocusObjects.settings.indexOf('shape') > -1, isText = storeFocusObjects.settings.indexOf('text') > -1, - isChart = storeFocusObjects.settings.indexOf('chart') > -1; + isChart = storeFocusObjects.settings.indexOf('chart') > -1, + isHeader = storeFocusObjects.settings.indexOf('header') > -1; let disabledAddLink = false, disabledAddBreak = false, @@ -209,9 +210,11 @@ const AddOther = props => { } - - - + {!isHeader && + + + + } {(isShape || isChart) || (isText && disabledAddFootnote) ? null :