Torkel Ödegaard 9 лет назад
Родитель
Сommit
f6633c8189
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      public/app/features/dashboard/export/exporter.ts

+ 1 - 1
public/app/features/dashboard/export/exporter.ts

@@ -25,7 +25,7 @@ export class DashboardExporter {
     var templateizeDatasourceUsage = obj => {
       promises.push(this.datasourceSrv.get(obj.datasource).then(ds => {
         var refName = 'DS_' + ds.name.replace(' ', '_').toUpperCase();
-        datasources[obj.datasource] = {
+        datasources[refName] = {
           name: refName,
           label: ds.name,
           description: '',