From e9203664fdd9103331329aa34e2b52e1bb3a5066 Mon Sep 17 00:00:00 2001 From: Pedro Lopes Date: Thu, 1 Oct 2020 21:36:28 -0300 Subject: [PATCH] fixing coments --- src/components/EventCard/EventCard.vue | 78 -------------------------- src/components/cpmCard.vue | 32 ++++++++--- 2 files changed, 24 insertions(+), 86 deletions(-) delete mode 100644 src/components/EventCard/EventCard.vue diff --git a/src/components/EventCard/EventCard.vue b/src/components/EventCard/EventCard.vue deleted file mode 100644 index d69380a..0000000 --- a/src/components/EventCard/EventCard.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/cpmCard.vue b/src/components/cpmCard.vue index 1059930..6f4f2e1 100644 --- a/src/components/cpmCard.vue +++ b/src/components/cpmCard.vue @@ -29,11 +29,25 @@

{{cardData.description}}

- + Comentários - - {{comment.user.name}}: {{comment.comment}} + + +
+ + + mdi-account-circle + avatar + + +
+

{{ item.comments[0].user.name }}:

+ +

{{ item.comments[0].comment }}

+
+
+
@@ -47,11 +61,13 @@ export default { name: 'Card', props: ['cardData'], - data() { - return { - - } - }, + data:() => ({ + cardDataArray: [] + }), + + created(){ + this.cardDataArray.push(this.cardData) + } }