From b42cf8a1aef4b80deb4531b21ffa6eeb2da23405 Mon Sep 17 00:00:00 2001 From: Francesco Torchia Date: Thu, 4 Jul 2024 17:28:51 +0200 Subject: [PATCH] tentative2 Signed-off-by: Francesco Torchia --- shell/initialize/entry-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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