<template>
    <v-chip
        small
        outlined
        :color="tematica_count ? 'green' : 'red'"
    >
        {{ tematica_count }}
    </v-chip>
</template>

<script>
    export default {
        props: {
            cellContent: {required: true},
            app: {default: null},
            column: {required: true},
        },

        computed: {
            curs() {
                return this.cellContent;
            },

            tematica_count() {
                return this.curs.tematica ? this.curs.tematica.length : 0;
            },
        },

        name: 'DtCellCursTematica',
    }
</script>