diff --git a/apps/documenteditor/mobile/src/view/edit/Edit.jsx b/apps/documenteditor/mobile/src/view/edit/Edit.jsx index 0a06b8f18..8cce09c6d 100644 --- a/apps/documenteditor/mobile/src/view/edit/Edit.jsx +++ b/apps/documenteditor/mobile/src/view/edit/Edit.jsx @@ -321,6 +321,13 @@ const EditTabs = props => { component: <EditChartController /> }) } + if(inToc) { + editors.push({ + caption: _t.textTableOfCont, + id: 'edit-table-contents', + component: <EditTableContentsController /> + }) + } if (settings.indexOf('hyperlink') > -1) { editors.push({ caption: _t.textHyperlink, @@ -330,14 +337,6 @@ const EditTabs = props => { } } - if(inToc) { - editors.push({ - caption: _t.textTableOfCont, - id: 'edit-table-contents', - component: <EditTableContentsController /> - }) - } - return ( <View style={props.style} stackPages={true} routes={routes}> <Page pageContent={false}>