Skip to content

Commit a1f69ea

Browse files
committed
fix(web): clear redirect preference on logout
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: cb465cbe-a93c-4c89-96f5-591e8f0908e3
1 parent 768cbb4 commit a1f69ea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

web/app/components/MessageThreadHeader.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const phonesStore = usePhonesStore()
2727
const threadsStore = useThreadsStore()
2828
const appStore = useAppStore()
2929
const notificationsStore = useNotificationsStore()
30+
const redirectPreferenceStore = useRedirectPreferenceStore()
3031
3132
const selectedMenuItem = ref(-1)
3233
@@ -71,6 +72,7 @@ async function logout() {
7172
authStore.resetState()
7273
phonesStore.resetState()
7374
threadsStore.resetState()
75+
redirectPreferenceStore.resetState()
7476
notificationsStore.addNotification({
7577
type: 'info',
7678
message: 'You have successfully logged out',

0 commit comments

Comments
 (0)