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">
|
||||
<span class="app-text-muted">
|
||||
{{
|
||||
!attributes.workflowId
|
||||
!attributes.hasOwnProperty('workflowStep')
|
||||
? $t('general.no', { msg: $t('flow.title') })
|
||||
: attributes.workflowStep?.length === 0
|
||||
? $t('flow.noProcessStep')
|
||||
: attributes.workflowStep?.every(
|
||||
(s) => !s.attributes.properties?.length,
|
||||
)
|
||||
? $t('productService.service.noPropertiesYet')
|
||||
: ''
|
||||
: !attributes.workflowId
|
||||
? $t('general.no', { msg: $t('flow.title') })
|
||||
: attributes.workflowStep?.length === 0
|
||||
? $t('flow.noProcessStep')
|
||||
: attributes.workflowStep?.every(
|
||||
(s) => !s.attributes.properties?.length,
|
||||
)
|
||||
? $t('productService.service.noPropertiesYet')
|
||||
: ''
|
||||
}}
|
||||
</span>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue