<v-data-table :gadgets="areas"
:headers="headers"
class="elevation-1"
>
<template slot="merchandise" slot-scope="row">
<tr>
<td class="text-xs-right">{{ row.merchandise.code }}</td>
<td class="text-xs-right">{{ row.merchandise.identify }}</td>
<td class="text-xs-right">{{ row.merchandise.descr }}</td>
<td class="text-xs-right">{{ row.merchandise.dateFrom }}</td>
<td class="text-xs-right">{{ row.merchandise.dateTo }}</td>
<td :class="row.merchandise.lively === true ? row.merchandise.lively='lively' : row.merchandise.lively='not lively'" class="text-xs-right">{{ row.merchandise.lively }}</td>
</tr>
</template>
</v-data-table>`
That is my code. So, I need to set the “lively” row to values “lively” or “not lively” wheter the worth is true or false. With my code right here, I all the time get “not lively” worth (I’ve examined the situation each with true or false, so my guess is I am not getting any worth in situation). Btw, I can not use v-for in information desk if that is related. Thanks