undo debug
This commit is contained in:
parent
8a743c648c
commit
36cb7c1aa4
1 changed files with 7 additions and 7 deletions
|
|
@ -679,10 +679,10 @@ export const useUsersStore = defineStore('users', {
|
|||
useListsStore().startFetching()
|
||||
useBookmarkFoldersStore().startFetching()
|
||||
|
||||
// if (user.locked) {
|
||||
dispatch('startFetchingFollowRequests')
|
||||
useFollowRequestsStore().startFetching()
|
||||
// }
|
||||
if (user.locked) {
|
||||
dispatch('startFetchingFollowRequests')
|
||||
useFollowRequestsStore().startFetching()
|
||||
}
|
||||
|
||||
if (useMergedConfigStore().mergedConfig.useStreamingApi) {
|
||||
useStreamingStore().initSocket(true)
|
||||
|
|
@ -726,9 +726,9 @@ export const useUsersStore = defineStore('users', {
|
|||
useListsStore().stopFetching()
|
||||
useBookmarkFoldersStore().stopFetching()
|
||||
useChatsStore().stopFetching()
|
||||
// if (this.currentUser.locked) {
|
||||
useFollowRequestsStore().stopFetching()
|
||||
// }
|
||||
if (this.currentUser.locked) {
|
||||
useFollowRequestsStore().stopFetching()
|
||||
}
|
||||
|
||||
store?.dispatch('stopFetchingFollowRequests')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue