Move Time Machine into its own nav tab with "Flux Capacitor" icon

pull/10616/head
Alex P 2018-06-08 14:41:16 -07:00
parent aec602b7a8
commit cd5964b3c6
1 changed files with 12 additions and 4 deletions

View File

@ -78,12 +78,20 @@ class SideNav extends PureComponent<Props> {
<NavHeader link={`${sourcePrefix}/hosts`} title="Host List" />
</NavBlock>
<NavBlock
highlightWhen={['data-explorer', 'delorean']}
icon="graphline"
highlightWhen={['data-explorer']}
icon="graphline-2"
link={dataExplorerLink}
location={location}
>
<NavHeader link={dataExplorerLink} title="Data Explorer" />
{/* <NavHeader link={`${sourcePrefix}/delorean`} title="Time Machine" /> */}
</NavBlock>
<NavBlock
highlightWhen={['delorean']}
icon="capacitor2"
link={`${sourcePrefix}/delorean`}
location={location}
>
<NavHeader link={`${sourcePrefix}/delorean`} title="Time Machine" />
</NavBlock>
<NavBlock
@ -96,7 +104,7 @@ class SideNav extends PureComponent<Props> {
</NavBlock>
<NavBlock
highlightWhen={['alerts', 'alert-rules', 'tickscript']}
icon="triangle"
icon="alerts"
link={`${sourcePrefix}/alert-rules`}
location={location}
>
@ -158,7 +166,7 @@ class SideNav extends PureComponent<Props> {
</Authorized>
<NavBlock
highlightWhen={['manage-sources', 'kapacitors']}
icon="cog-outline"
icon="wrench"
link={`${sourcePrefix}/manage-sources`}
location={location}
>