Commit 82302799 by Jason Wilder

Assign new ID to when importing dashboard via frontend

Fixes a panic: interface conversion: interface is string, not float64
when importing a dashboard that has a non-float ID.
parent a6df991b
......@@ -24,6 +24,7 @@ function (angular, kbn) {
return;
}
var title = kbn.slugifyForUrl(window.grafanaImportDashboard.title);
window.grafanaImportDashboard.id = null;
$location.path('/dashboard/import/' + title);
});
};
......
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