The workflow instance can be deleted only when its status is success, failure, stop and pause. (#1079)
* Dependency workflow add dependency correction value * Download workflow instance map width adjustment and change "desc" field to "description" * The third-party library that builds the dependency is recommended to be placed in 'devDependencies' * Tree chart and Gantt chart style modification * The workflow instance can be deleted only when its status is success, failure, stop and pause.
This commit is contained in:
parent
c8ee405426
commit
850d6bb3a5
|
|
@ -149,7 +149,7 @@
|
|||
shape="circle"
|
||||
size="xsmall"
|
||||
data-toggle="tooltip"
|
||||
:disabled="item.state === 'RUNNING_EXEUTION'"
|
||||
:disabled="item.state !== 'SUCCESS' && item.state !== 'FAILURE' && item.state !== 'STOP' && item.state !== 'PAUSE'"
|
||||
:title="$t('delete')">
|
||||
</x-button>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue