Prechádzať zdrojové kódy

fix(): removed dashboard version to schema version migration

Torkel Ödegaard 9 rokov pred
rodič
commit
9f777a535b

+ 0 - 4
public/app/features/dashboard/dashboardSrv.js

@@ -16,10 +16,6 @@ function (angular, $, _, moment) {
         data = {};
         data = {};
       }
       }
 
 
-      if (!data.id && data.version) {
-        data.schemaVersion = data.version;
-      }
-
       this.id = data.id || null;
       this.id = data.id || null;
       this.title = data.title || 'No Title';
       this.title = data.title || 'No Title';
       this.autoUpdate = data.autoUpdate;
       this.autoUpdate = data.autoUpdate;