fix: workflow => prevent undefined

This commit is contained in:
puriphatt 2024-12-19 10:52:01 +07:00
parent 0686e0b318
commit 29251b1b4f

View file

@ -396,7 +396,9 @@ onMounted(async () => {
outlined
:label="$t('general.detail')"
:model-value="!readonly ? step.detail : step.detail || '-'"
@update:model-value="(v) => (step.detail = v?.toString())"
@update:model-value="
(v) => (step.detail = v?.toString() || '')
"
/>
<div class="col-6">