From f6633c8189a094c39c6505fc7d69eabf97eb5b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 27 May 2016 08:34:12 +0200 Subject: [PATCH] feat(export): minor dupe fix --- public/app/features/dashboard/export/exporter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/export/exporter.ts b/public/app/features/dashboard/export/exporter.ts index c50e252efff..7c076128ea8 100644 --- a/public/app/features/dashboard/export/exporter.ts +++ b/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: '',