Commit 1f92e589 by Daniel Lee

exporter: query template var keeps refresh value..

on export if the value is not set to never. Otherwise the template
variable will not be populated with any values.""
parent 812ac5cb
......@@ -103,7 +103,7 @@ export class DashboardExporter {
templateizeDatasourceUsage(variable);
variable.options = [];
variable.current = {};
variable.refresh = 1;
variable.refresh = variable.refresh > 0 ? variable.refresh : 1;
}
}
......
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