[DE mobile] Correct tabs

This commit is contained in:
SergeyEzhin 2022-02-16 18:23:56 +04:00
parent 5966ec9279
commit 3be24a48bb

View file

@ -321,6 +321,13 @@ const EditTabs = props => {
component: <EditChartController /> component: <EditChartController />
}) })
} }
if(inToc) {
editors.push({
caption: _t.textTableOfCont,
id: 'edit-table-contents',
component: <EditTableContentsController />
})
}
if (settings.indexOf('hyperlink') > -1) { if (settings.indexOf('hyperlink') > -1) {
editors.push({ editors.push({
caption: _t.textHyperlink, caption: _t.textHyperlink,
@ -330,14 +337,6 @@ const EditTabs = props => {
} }
} }
if(inToc) {
editors.push({
caption: _t.textTableOfCont,
id: 'edit-table-contents',
component: <EditTableContentsController />
})
}
return ( return (
<View style={props.style} stackPages={true} routes={routes}> <View style={props.style} stackPages={true} routes={routes}>
<Page pageContent={false}> <Page pageContent={false}>