[improvement] improve relation between notification strategy and alarm group on ui (#12200)

* [improvement] improve relation between notification strategy and alarm group

* [improvement] change to use ```&&```

Co-authored-by: Jackie <‘2875334588@qq.com’>
This commit is contained in:
fuchanghai 2022-09-29 11:22:10 +08:00 committed by GitHub
parent d3f087e29b
commit c7d9719e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -323,7 +323,7 @@ export default defineComponent({
clearable
/>
</NFormItem>
<NFormItem
{this.startForm.warningType !== 'NONE' && (<NFormItem
label={t('project.workflow.alarm_group')}
path='warningGroupId'
>
@ -333,7 +333,7 @@ export default defineComponent({
v-model:value={this.startForm.warningGroupId}
clearable
/>
</NFormItem>
</NFormItem>)}
<NFormItem
label={t('project.workflow.complement_data')}
path='complement_data'

View File

@ -378,7 +378,7 @@ export default defineComponent({
clearable
/>
</NFormItem>
<NFormItem
{this.timingForm.warningType !== 'NONE' && ( <NFormItem
label={t('project.workflow.alarm_group')}
path='warningGroupId'
>
@ -388,7 +388,7 @@ export default defineComponent({
v-model:value={this.timingForm.warningGroupId}
clearable
/>
</NFormItem>
</NFormItem> )}
</NForm>
</Modal>
)