Commit f6633c81 by Torkel Ödegaard

feat(export): minor dupe fix

parent e83d1384
......@@ -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: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment