diff --git a/client/src/components/Upload/Default.vue b/client/src/components/Upload/Default.vue index 582873f8de5e..5b2ac3af702f 100644 --- a/client/src/components/Upload/Default.vue +++ b/client/src/components/Upload/Default.vue @@ -60,6 +60,7 @@ class="ui-button-default" id="btn-build" @click="_eventSelect" + v-if="selectable" :disabled="!enableBuild" :variant="enableBuild ? 'primary' : ''" > diff --git a/client/src/components/Upload/UploadBoxMixin.js b/client/src/components/Upload/UploadBoxMixin.js index 8ffee7e4dcaf..2cb58fc84bfe 100644 --- a/client/src/components/Upload/UploadBoxMixin.js +++ b/client/src/components/Upload/UploadBoxMixin.js @@ -27,6 +27,10 @@ export default { type: Number, default: null, }, + selectable: { + type: Boolean, + default: false, + }, }, computed: { btnFilesTitle() { diff --git a/client/src/components/Upload/UploadModal.vue b/client/src/components/Upload/UploadModal.vue index a76623849fa4..e303d55cba00 100644 --- a/client/src/components/Upload/UploadModal.vue +++ b/client/src/components/Upload/UploadModal.vue @@ -16,7 +16,7 @@ - +