You've already forked agentic-coding-workflow
fix(web): SessionStatusBadge add default case to satisfy vue/return-in-computed-property
This commit is contained in:
@@ -15,6 +15,8 @@ const cls = computed(() => {
|
|||||||
return 'bg-red-100 text-red-800 border-red-300'
|
return 'bg-red-100 text-red-800 border-red-300'
|
||||||
case 'exited':
|
case 'exited':
|
||||||
return 'bg-gray-100 text-gray-700 border-gray-300'
|
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'
|
return 'Crashed'
|
||||||
case 'exited':
|
case 'exited':
|
||||||
return 'Exited'
|
return 'Exited'
|
||||||
|
default:
|
||||||
|
return ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user