refactor: edit condition
This commit is contained in:
parent
2475a346b3
commit
d2a434a3a3
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ defineProps<{
|
|||
:color="
|
||||
calculateDaysUntilExpire(expirationDate) > 90
|
||||
? 'green'
|
||||
: calculateDaysUntilExpire(expirationDate) < 90 &&
|
||||
: calculateDaysUntilExpire(expirationDate) <= 90 &&
|
||||
calculateDaysUntilExpire(expirationDate) > 0
|
||||
? 'orange'
|
||||
: 'red'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue