Remove buggy pre tag to preserve formatting

use v-if instead of v-bind:class
This commit is contained in:
Marcel Schwarz 2020-07-21 23:24:38 +02:00
parent 695df651e1
commit a73740f400

View File

@ -6,10 +6,9 @@
<v-row no-gutters align="center"> <v-row no-gutters align="center">
<v-col cols="2"> <v-col cols="2">
<v-card color="background" elevation="0"> <v-card color="background" elevation="0">
<pre> <v-icon color="green" v-if="timeRecord.type === 'PAID'">mdi-currency-usd</v-icon>
<v-icon color="green" v-bind:class="{'d-none':timeRecord.type == 'BREAK'}">mdi-currency-usd</v-icon> <v-icon color="red" v-if="timeRecord.type === 'BREAK'">mdi-currency-usd-off</v-icon>
<v-icon color="red" v-bind:class="{'d-none':timeRecord.type == 'PAID'}">mdi-currency-usd-off</v-icon>{{" " + timeRecord.type}} {{timeRecord.type}}
</pre>
</v-card> </v-card>
</v-col> </v-col>
<v-col></v-col> <v-col></v-col>