diff --git a/shell/initialize/entry-helpers.js b/shell/initialize/entry-helpers.js index cd76b85ae6b..6e9a3f9d068 100644 --- a/shell/initialize/entry-helpers.js +++ b/shell/initialize/entry-helpers.js @@ -211,7 +211,7 @@ async function render(to, from, next) { console.log('newLocation', newLocation); // eslint-disable-line no-console // If we have a new location, double check that it's actually valid - const resolvedRoute = newLocation ? app.context.store.app.router.resolve(newLocation) : null; + const resolvedRoute = newLocation ? app.context.store.app.router.resolve({ path: newLocation.path.replace('/dashboard', '') }, window.$globalApp.$route) : null; console.log('resolvedRoute', resolvedRoute); // eslint-disable-line no-console