From 14f2332d7b1b85dc1031d5b5b1f5c3a6f3f6ebcb Mon Sep 17 00:00:00 2001 From: Nouhaila Idrissi Zouggari Date: Tue, 3 Dec 2024 15:00:59 +0100 Subject: [PATCH] MT#61634 Logo disappears after refresh on CSC panel When a CSC-UI User reloads the site the logo disappears, the problem was fixed by removing the function forwardHome. NGCP-Flow: mr11.5 Change-Id: I976135461bfb562acfa662f978207148492c5815 --- src/store/user.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/store/user.js b/src/store/user.js index 48717457..bdf0ad42 100644 --- a/src/store/user.js +++ b/src/store/user.js @@ -352,13 +352,10 @@ export default { console.log(err) } } - await context.dispatch('forwardHome') } catch (err) { console.debug(err) await context.dispatch('logout') } - } else { - await context.dispatch('forwardHome') } }, async changePassword (context, newPassword) { @@ -390,12 +387,6 @@ export default { commit('userPasswordFailed', err.message) } }, - async forwardHome (context) { - const start = '/user/dashboard' - if (context.rootState.route?.path !== start) { - await this.$router.push({ name: 'root' }) - } - }, async getCustomLogo (context) { if (!context.state.logo) { context.commit('updateLogoRequestState', true)