Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix workflow delete handle (#9057)

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
cfe2473e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/table-action.tsx

5
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/table-action.tsx

@ -253,7 +253,10 @@ export default defineComponent({
disabled={releaseState === 'ONLINE'} disabled={releaseState === 'ONLINE'}
class='btn-delete' class='btn-delete'
> >
<NPopconfirm onPositiveClick={this.handleDeleteWorkflow}> <NPopconfirm
disabled={releaseState === 'ONLINE'}
onPositiveClick={this.handleDeleteWorkflow}
>
{{ {{
default: () => t('project.workflow.delete_confirm'), default: () => t('project.workflow.delete_confirm'),
icon: () => ( icon: () => (

Loading…
Cancel
Save