Skip to content

Commit

Permalink
trying fix this sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolopeshlsSENAI committed Oct 13, 2020
1 parent 13ceb2b commit 986c313
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/components/cpmCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,21 @@
<v-expansion-panel-header>Comentários</v-expansion-panel-header>
<v-expansion-panel-content>
<div v-if="cardDataArray[0].comments != '' ">
<div class="d-flex" v-for="(item, i) in cardDataArray" :key="i">
<div class="d-flex" v-for="(item, index) in cardDataArray" :key="index">

<!-- {{ item.comments }} -->
{{ index }}
<!-- <v-avatar size="36" color="orange">
<v-icon v-if="!item[index].user.avatar" dark>mdi-account-circle</v-icon>
<img v-else :src="item[index].user.avatar" alt="avatar">
</v-avatar> -->

<v-avatar size="36" color="orange">
<v-icon v-if="!item.comments[i].user.avatar" dark>mdi-account-circle</v-icon>
<img v-else :src="item.comments[i].user.avatar" alt="avatar">
</v-avatar>
<!-- {{ item.comments[item] }} -->
<!-- {{ item.comments[1] }} -->

<strong class="ml-2 mt-1">{{ item.comments[0].user.name }}:</strong>
<!-- <strong class="ml-2 mt-1">{{ item.comments[i].user.name }}:</strong>
<p class="ml-2 mt-1">{{ item.comments[0].comment }}</p>
<p class="ml-2 mt-1">{{ item.comments[i].comment }}</p> -->
</div>
</div>

Expand Down

0 comments on commit 986c313

Please sign in to comment.