fix: use else-if

This commit is contained in:
Nikhil Kothari
2024-06-14 16:30:33 +05:30
committed by GitHub
parent 1d16c46003
commit e397295b5e
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
{{ batch.seats_left }} {{ __('Seats Left') }}
</Badge>
<Badge
v-if="batch.seat_count && batch.seats_left == 1"
v-else-if="batch.seat_count && batch.seats_left == 1"
theme="green"
class="self-start mb-2"
>

View File

@@ -8,7 +8,7 @@
{{ seats_left }} {{ __('Seats Left') }}
</Badge>
<Badge
v-if="batch.data.seat_count && seats_left == 1"
v-else-if="batch.data.seat_count && seats_left == 1"
theme="green"
class="self-start mb-2 float-right"
>