oops
This commit is contained in:
parent
ded8ae863d
commit
eaa75f55e6
1 changed files with 3 additions and 2 deletions
|
|
@ -717,6 +717,7 @@ export const useUsersStore = defineStore('users', {
|
||||||
},
|
},
|
||||||
logout() {
|
logout() {
|
||||||
const oauth = useOAuthStore()
|
const oauth = useOAuthStore()
|
||||||
|
const locked = this.currentUser.locked
|
||||||
|
|
||||||
// Pause fetching
|
// Pause fetching
|
||||||
useNotificationsStore().pause()
|
useNotificationsStore().pause()
|
||||||
|
|
@ -727,7 +728,7 @@ export const useUsersStore = defineStore('users', {
|
||||||
useListsStore().stopFetching()
|
useListsStore().stopFetching()
|
||||||
useBookmarkFoldersStore().stopFetching()
|
useBookmarkFoldersStore().stopFetching()
|
||||||
useChatsStore().stopFetching()
|
useChatsStore().stopFetching()
|
||||||
if (this.currentUser.locked) {
|
if (locked) {
|
||||||
useFollowRequestsStore().stopFetching()
|
useFollowRequestsStore().stopFetching()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -788,7 +789,7 @@ export const useUsersStore = defineStore('users', {
|
||||||
useListsStore().startFetching()
|
useListsStore().startFetching()
|
||||||
useBookmarkFoldersStore().startFetching()
|
useBookmarkFoldersStore().startFetching()
|
||||||
useChatsStore().startFetching()
|
useChatsStore().startFetching()
|
||||||
if (this.currentUser.locked) {
|
if (locked) {
|
||||||
useFollowRequestsStore().startFetching()
|
useFollowRequestsStore().startFetching()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue