Commit 9c140184 by Torkel Ödegaard

fix: always show dashboard history for now, need a way to make dropdown more dynamic

parent 2a52e25d
...@@ -167,13 +167,11 @@ export class NavModelSrv { ...@@ -167,13 +167,11 @@ export class NavModelSrv {
clickHandler: () => dashNavCtrl.openEditView('annotations') clickHandler: () => dashNavCtrl.openEditView('annotations')
}); });
if (dashboard.version > 0) {
menu.push({ menu.push({
title: 'Version History', title: 'Version History',
icon: 'fa fa-fw fa-history', icon: 'fa fa-fw fa-history',
clickHandler: () => dashNavCtrl.openEditView('history') clickHandler: () => dashNavCtrl.openEditView('history')
}); });
}
menu.push({ menu.push({
title: 'View JSON', title: 'View JSON',
......
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