fix: table value missing
This commit is contained in:
parent
90c8b1732a
commit
55aacaac1e
4 changed files with 17 additions and 1 deletions
|
|
@ -15,7 +15,14 @@ defineProps<{
|
|||
"
|
||||
>
|
||||
<q-badge
|
||||
:color="calculateDaysUntilExpire(expirationDate) > 0 ? 'orange' : 'red'"
|
||||
:color="
|
||||
calculateDaysUntilExpire(expirationDate) > 90
|
||||
? 'green'
|
||||
: calculateDaysUntilExpire(expirationDate) < 90 &&
|
||||
calculateDaysUntilExpire(expirationDate) > 0
|
||||
? 'orange'
|
||||
: 'red'
|
||||
"
|
||||
class="text-weight-bold"
|
||||
>
|
||||
{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue