lists #4

Merged
floatingghost merged 17 commits from :lists into develop 2022-06-20 13:10:01 +00:00
Showing only changes of commit 9217ca8476 - Show all commits

View file

@ -40,11 +40,10 @@ const ListNew = {
return this.userIds.map(userId => this.findUser(userId))
},
selectedUsers () {
const users = this.selectedUserIds.map(userId => this.findUser(userId))
if (users.includes(undefined)) {
return []
for (let i = 0; i < this.selectedUserIds.length; i++) {
this.$store.dispatch('fetchUserIfMissing', this.selectedUserIds[i])
}
return users
return this.selectedUserIds.map(userId => this.findUser(userId))
},
availableUsers () {
if (this.query.length !== 0) {