better fetchUserIfMissing
This commit is contained in:
parent
15cc5f44e9
commit
92ef3b1cd1
5 changed files with 96 additions and 37 deletions
|
|
@ -47,8 +47,8 @@ const ListsNew = {
|
|||
.fetchListAccounts({ listId: this.id })
|
||||
.then(() => {
|
||||
this.membersUserIds = this.findListAccounts(this.id)
|
||||
this.membersUserIds.forEach((userId) => {
|
||||
useUsersStore().fetchUserIfMissing(userId)
|
||||
this.membersUserIds.forEach((id) => {
|
||||
useUsersStore().fetchUserIfMissing({ id })
|
||||
})
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue