better fetchUserIfMissing & fix notifications plugin
This commit is contained in:
parent
92ef3b1cd1
commit
5223c00af4
5 changed files with 25 additions and 35 deletions
|
|
@ -9,9 +9,7 @@ import { useUsersStore } from 'src/stores/users.js'
|
|||
const StaffPanel = {
|
||||
created() {
|
||||
const nicknames = useInstanceStore().staffAccounts
|
||||
nicknames.forEach((name) =>
|
||||
useUsersStore().fetchUserIfMissing({ name }),
|
||||
)
|
||||
nicknames.forEach((name) => useUsersStore().fetchUserIfMissing({ name }))
|
||||
},
|
||||
components: {
|
||||
BasicUserCard,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue