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:
@@ -24,6 +24,7 @@ function (angular, kbn) {
|
||||
return;
|
||||
}
|
||||
var title = kbn.slugifyForUrl(window.grafanaImportDashboard.title);
|
||||
window.grafanaImportDashboard.id = null;
|
||||
$location.path('/dashboard/import/' + title);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user