Commit 39669e50 by Marcus Efraimsson Committed by Torkel Ödegaard

fix redirect to panel when using an outdated dashboard slug (#12901)

parent 1c185ef8
......@@ -34,7 +34,9 @@ export class LoadDashboardCtrl {
const url = locationUtil.stripBaseFromUrl(result.meta.url);
if (url !== $location.path()) {
// replace url to not create additional history items and then return so that initDashboard below isn't executed multiple times.
$location.path(url).replace();
return;
}
}
......
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