I'm gathering datas from a JSON file. I would like to change the cell color to green if the value is "OK" and to red if the value is "KO". I'm using a v-simple-table like that :
<td :class="OK? 'primary' : 'accent'">{{ item.pcb1 }}</td>
With my actual solution, my entire column is green.
Do someone have any idea how to to it properly ?
Thank you