dashboard_history: minor changes and fixes

This commit is contained in:
Torkel Ödegaard
2017-06-06 16:27:28 +02:00
parent 7b5f7ed553
commit c4e872b9da
3 changed files with 9 additions and 7 deletions

View File

@@ -167,11 +167,13 @@ export class NavModelSrv {
clickHandler: () => dashNavCtrl.openEditView('annotations')
});
menu.push({
title: 'Version history',
icon: 'fa fa-fw fa-history',
clickHandler: () => dashNavCtrl.openEditView('history')
});
if (!dashboard.meta.isHome) {
menu.push({
title: 'Version history',
icon: 'fa fa-fw fa-history',
clickHandler: () => dashNavCtrl.openEditView('history')
});
}
menu.push({
title: 'View JSON',