diff --git a/src/renderer/components/GlobalHeader.vue b/src/renderer/components/GlobalHeader.vue index f749e6ec..c0a614b7 100644 --- a/src/renderer/components/GlobalHeader.vue +++ b/src/renderer/components/GlobalHeader.vue @@ -11,7 +11,13 @@ active-text-color="#ffffff" role="menubar" > - + diff --git a/src/renderer/store/GlobalHeader.ts b/src/renderer/store/GlobalHeader.ts index 3ad7ee89..d0615830 100644 --- a/src/renderer/store/GlobalHeader.ts +++ b/src/renderer/store/GlobalHeader.ts @@ -146,7 +146,9 @@ const actions: ActionTree = { let notify = createNotification(notification, rootState.App.notify as Notify) if (notify) { notify.onclick = () => { - router.push(`/${id}/notifications`) + router.push(`/${id}/home`) + // We have to wait until change el-menu-item + setTimeout(() => router.push(`/${id}/notifications`), 1000) } } })