fix: handle work properties old type
This commit is contained in:
parent
6e796049d5
commit
fe83de88de
1 changed files with 10 additions and 8 deletions
|
|
@ -537,15 +537,17 @@ watch(
|
||||||
<div class="q-py-md q-px-md full-width column">
|
<div class="q-py-md q-px-md full-width column">
|
||||||
<span class="app-text-muted">
|
<span class="app-text-muted">
|
||||||
{{
|
{{
|
||||||
!attributes.workflowId
|
!attributes.hasOwnProperty('workflowStep')
|
||||||
? $t('general.no', { msg: $t('flow.title') })
|
? $t('general.no', { msg: $t('flow.title') })
|
||||||
: attributes.workflowStep?.length === 0
|
: !attributes.workflowId
|
||||||
? $t('flow.noProcessStep')
|
? $t('general.no', { msg: $t('flow.title') })
|
||||||
: attributes.workflowStep?.every(
|
: attributes.workflowStep?.length === 0
|
||||||
(s) => !s.attributes.properties?.length,
|
? $t('flow.noProcessStep')
|
||||||
)
|
: attributes.workflowStep?.every(
|
||||||
? $t('productService.service.noPropertiesYet')
|
(s) => !s.attributes.properties?.length,
|
||||||
: ''
|
)
|
||||||
|
? $t('productService.service.noPropertiesYet')
|
||||||
|
: ''
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue