fix: correct card status values and booking display issues
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user