From 899f8c3ad8ca84f17b9b71d2e65bb22203da2cdb Mon Sep 17 00:00:00 2001 From: KatKatKateryna Date: Wed, 13 Oct 2021 11:36:37 +0200 Subject: [PATCH] (cleaned) Avatars work (max 4, without pop-up card) --- packages/frontend/src/components/ListItemCommit.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/frontend/src/components/ListItemCommit.vue b/packages/frontend/src/components/ListItemCommit.vue index ed33084b2..6b1fd4cbb 100644 --- a/packages/frontend/src/components/ListItemCommit.vue +++ b/packages/frontend/src/components/ListItemCommit.vue @@ -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: {