<template>
    <v-chip
        :color="account.activated ? 'green' : 'red'"
        small
        outlined
        :title="__(account.activated ? 'Activ' : 'Inactiv')"
    >
        <v-icon small>
            mdi-{{ account.activated ? 'check' : 'lock'}}
        </v-icon>
    </v-chip>
</template>

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

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

        name: 'DtCellAccountActive',
    }
</script>