From 9c1401849e53a0277efc6b7dec6c7dc5c374fdb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 5 Jun 2017 23:14:07 +0200 Subject: [PATCH] fix: always show dashboard history for now, need a way to make dropdown more dynamic --- public/app/core/nav_model_srv.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/public/app/core/nav_model_srv.ts b/public/app/core/nav_model_srv.ts index ee5869763bb..99f09916753 100644 --- a/public/app/core/nav_model_srv.ts +++ b/public/app/core/nav_model_srv.ts @@ -167,13 +167,11 @@ export class NavModelSrv { clickHandler: () => dashNavCtrl.openEditView('annotations') }); - if (dashboard.version > 0) { - menu.push({ - title: 'Version History', - icon: 'fa fa-fw fa-history', - clickHandler: () => dashNavCtrl.openEditView('history') - }); - } + menu.push({ + title: 'Version History', + icon: 'fa fa-fw fa-history', + clickHandler: () => dashNavCtrl.openEditView('history') + }); menu.push({ title: 'View JSON',