fix: correct card status values and booking display issues

This commit is contained in:
gqt
2026-07-12 21:08:04 +08:00
parent 4b11447875
commit df1e2fe267
5 changed files with 21 additions and 8 deletions
@@ -93,9 +93,8 @@ const goDetail = (id) => {
}
const statusBadgeClass = (status) => {
if (status === 'active') return 'success'
if (status === 'available') return 'success'
if (status === 'exhausted') return 'warning'
if (status === 'expired') return 'muted'
return 'muted'
}
</script>