ソースを参照

fix(): removed dashboard version to schema version migration

Torkel Ödegaard 9 年 前
コミット
9f777a535b
1 ファイル変更0 行追加4 行削除
  1. 0 4
      public/app/features/dashboard/dashboardSrv.js

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

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