fix(web): SessionStatusBadge add default case to satisfy vue/return-in-computed-property

This commit is contained in:
2026-05-07 18:23:02 +08:00
parent 508b73c381
commit a666ee8f08
@@ -15,6 +15,8 @@ const cls = computed(() => {
return 'bg-red-100 text-red-800 border-red-300'
case 'exited':
return 'bg-gray-100 text-gray-700 border-gray-300'
default:
return 'bg-gray-100 text-gray-700 border-gray-300'
}
})
@@ -28,6 +30,8 @@ const label = computed(() => {
return 'Crashed'
case 'exited':
return 'Exited'
default:
return ''
}
})
</script>