(cleaned) Avatars work (max 4, without pop-up card)

This commit is contained in:
KatKatKateryna
2021-10-13 11:36:37 +02:00
parent 1c6f033b8e
commit 899f8c3ad8
@@ -239,17 +239,14 @@ export default {
this.receivedUsersUnique.forEach(obj => {
if (obj) {
this.idUnique.push(obj) //, console.log("loop in progress"), console.log(this.idUnique)//, console.log(val)
this.idUnique.push(obj)
}
})
do {this.idUnique.push(this.idUnique[0])} while (this.idUnique.length<4) //fill all 4 users with fake data
}
},
userData(val) {
//console.log("query was called, the data received: ")
//console.log(val)
this.userAvatars.push(val.user1), this.userAvatars.push(val.user2), this.userAvatars.push(val.user3), this.userAvatars.push(val.user4)
//console.log(this.userAvatars)
}
},
methods: {