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
mr11.5
Nouhaila Idrissi Zouggari 1 year ago committed by Nouhaila Idrissi-Zouggari
parent d9089dff49
commit 14f2332d7b

@ -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)

Loading…
Cancel
Save