mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: always show dashboard history for now, need a way to make dropdown more dynamic
This commit is contained in:
parent
2a52e25d5b
commit
9c1401849e
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user