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:
break60 2019-10-23 20:15:27 +08:00 committed by bao liang
parent c8ee405426
commit 850d6bb3a5
1 changed files with 1 additions and 1 deletions

View File

@ -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>