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

This commit is contained in:
Torkel Ödegaard 2017-06-05 23:14:07 +02:00
parent 2a52e25d5b
commit 9c1401849e

View File

@ -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',