Commit dd700047 authored by Oleksii Savran's avatar Oleksii Savran

DiversityTree DisplayPage: removed BackButton

parent d681da69
......@@ -34,7 +34,6 @@ import ContentHeaderWithButton from 'ui/common/heading/ContentHeaderWithButton';
import PageTitle from 'ui/common/PageTitle';
import ErrorMessage from 'ui/common/error/ErrorMessage';
import { ScrollToTopOnMount } from 'ui/common/page/scrollers';
import BackButton from 'ui/common/buttons/BackButton';
import DiversityTreeDisplay from './c/DiversityTreeDisplay';
import Tabs, { Tab } from 'ui/common/Tabs';
import TreeExplorer from 'divtree/ui/c/TreeExplorer';
......@@ -189,13 +188,6 @@ class DisplayPage extends React.Component<IDisplayPageProps, any> {
<PageTitle title={ !loading ? divtree && divtree.title : t('common:label.loading', { what: t('divtree.public.p.display.title') }) }/>
<ContentHeaderWithButton
title={ !loading ? t('divtree.public.p.display.title') : t('common:label.loading', { what: t('divtree.public.p.display.title') }) }
buttons={
<BackButton
defaultTarget="/dashboard/divtree"
defaultBackText={ t('common:action.back') }
preferDefaultTarget
/>
}
/>
<Tabs
tab={ currentTab }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment