Only displays execution button once the metadata to copy from is selected on the copy bulk edition workflow.

This commit is contained in:
mateuswetah 2020-05-15 17:11:20 -03:00
parent 5735af48d8
commit d2a0ca4c46
1 changed files with 2 additions and 1 deletions

View File

@ -247,7 +247,8 @@
v-if="!bulkEditionProcedures[criterion].isDone &&
!bulkEditionProcedures[criterion].isExecuting &&
bulkEditionProcedures[criterion].metadatum &&
bulkEditionProcedures[criterion].action"
bulkEditionProcedures[criterion].action &&
(bulkEditionProcedures[criterion].action != editionActions.copy || (bulkEditionProcedures[criterion].action == editionActions.copy && !!bulkEditionProcedures[criterion].metadatumIdCopyFrom))"
@click="executeBulkEditionProcedure(criterion)"
class="button is-white is-pulled-right">
<span