Przeglądaj źródła

Small fix to schemaUpgrade, Closes #807

Torkel Ödegaard 11 lat temu
rodzic
commit
430e2e439b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/app/services/dashboard/dashboardSrv.js

+ 1 - 1
src/app/services/dashboard/dashboardSrv.js

@@ -131,7 +131,7 @@ function (angular, $, kbn, _, moment) {
         if (old.services) {
           if (old.services.filter) {
             this.time = old.services.filter.time;
-            this.templating.list = old.services.filter.list;
+            this.templating.list = old.services.filter.list || [];
           }
           delete this.services;
         }