mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
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.
This commit is contained in:
parent
a6df991b76
commit
8230279932
@ -24,6 +24,7 @@ function (angular, kbn) {
|
||||
return;
|
||||
}
|
||||
var title = kbn.slugifyForUrl(window.grafanaImportDashboard.title);
|
||||
window.grafanaImportDashboard.id = null;
|
||||
$location.path('/dashboard/import/' + title);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user