diff --git a/src/stores/follow_requests.js b/src/stores/follow_requests.js index 733d5cd63..192239dcd 100644 --- a/src/stores/follow_requests.js +++ b/src/stores/follow_requests.js @@ -1,10 +1,10 @@ import { defineStore } from 'pinia' import followRequestFetcher from 'src/stores/fetchers/follow_requests.js' +import { useInterfaceStore } from 'src/stores/interface.js' import { useMergedConfigStore } from 'src/stores/merged_config.js' import { useNotificationsStore } from 'src/stores/notifications.js' import { useOAuthStore } from 'src/stores/oauth.js' -import { useInterfaceStore } from 'src/stores/interface.js' import { approveUser, denyUser } from 'src/api/user.js' diff --git a/src/stores/users.js b/src/stores/users.js index b487eab46..dbe0b9d8b 100644 --- a/src/stores/users.js +++ b/src/stores/users.js @@ -788,7 +788,7 @@ export const useUsersStore = defineStore('users', { useListsStore().startFetching() useBookmarkFoldersStore().startFetching() useChatsStore().startFetching() - if (user.locked) { + if (this.currentUser.locked) { useFollowRequestsStore().startFetching() } })