better fetchUserIfMissing & fix notifications plugin

This commit is contained in:
Henry Jameson 2026-08-10 16:37:36 +03:00
commit 5223c00af4
5 changed files with 25 additions and 35 deletions

View file

@ -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,