Browse Source

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

Torkel Ödegaard 8 years ago
parent
commit
9c1401849e
1 changed files with 5 additions and 7 deletions
  1. 5 7
      public/app/core/nav_model_srv.ts

+ 5 - 7
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',