All files / src/components/UI/aboutportal/card_top_comment card-comment.vue

0% Statements 0/14
0% Branches 0/2
0% Functions 0/7
0% Lines 0/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37                                                                         
<template>
    <v-card max-width='400' density="compact" class="bg-transparent">
        <v-card-text class="pb-0">Оставлено комментариев</v-card-text>
        <v-card-subtitle>Последний комментарий оставлен {{formaComaTime(comment.time_create)}}</v-card-subtitle>
        
        <v-card-text class="text-caption">
            {{comment.comment}}
        </v-card-text>
        <!-- <v-card-title class="text-wrap"></v-card-title> -->
    </v-card>
</template>

<script>
import {formaComaTime} from '@/utils/universal_functions'
 
export default {

    props: {
        comment: {
            type: Object,
            default: () => {}
        }
    },

    setup() { 

        return {
            formaComaTime
        }
    }
 
}
</script>

<style>
 
</style>