review
This commit is contained in:
parent
5dc3a87a97
commit
8d49ef11ff
2 changed files with 8 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ const UserAvatar = {
|
|||
return useUsersStore().findUser(this.userId)
|
||||
},
|
||||
showActorTypeIndicator() {
|
||||
return useMergedConfigStore().mergedConfig.hideBotIndication
|
||||
return !useMergedConfigStore().mergedConfig.hideBotIndication
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -400,9 +400,13 @@ export const useAdminSettingsStore = defineStore('adminSettings', {
|
|||
|
||||
return {
|
||||
items: await Promise.all(
|
||||
users.map((user) => {
|
||||
useUsersStore().updateUserAdminData(user.id, user)
|
||||
return useUsersStore().findUser(user.id)
|
||||
users.map(async (user) => {
|
||||
const fullUser = await useUsersStore().fetchUserIfMissing({
|
||||
id: user.id,
|
||||
})
|
||||
|
||||
if (fullUser) useUsersStore().updateUserAdminData(user.id, user)
|
||||
return fullUser
|
||||
}),
|
||||
),
|
||||
count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue