From ded8ae863dcab3156d4e475253ed6702a3d10627 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 4 Sep 2026 00:18:58 +0300 Subject: [PATCH] lint+fix --- src/stores/follow_requests.js | 2 +- src/stores/users.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() } })