You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by nv...@apache.org on 2022/04/23 10:18:25 UTC
[cloudstack] branch main updated: UI: Fix upload resource icon button (#6309)
This is an automated email from the ASF dual-hosted git repository.
nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 3f7b879513 UI: Fix upload resource icon button (#6309)
3f7b879513 is described below
commit 3f7b879513a17d557e11f561a7a7b35ee2df1c44
Author: Nicolas Vazquez <ni...@gmail.com>
AuthorDate: Sat Apr 23 07:18:17 2022 -0300
UI: Fix upload resource icon button (#6309)
---
ui/src/components/view/UploadResourceIcon.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/components/view/UploadResourceIcon.vue b/ui/src/components/view/UploadResourceIcon.vue
index 186847a6e8..87cf9503ac 100644
--- a/ui/src/components/view/UploadResourceIcon.vue
+++ b/ui/src/components/view/UploadResourceIcon.vue
@@ -81,7 +81,7 @@
</a-button>
</a-col>
<a-col :xs="{span: 1, offset: 3}" :md="1">
- <a-button type="primary" @click="uploadIcon('blob')"> {{ $t('label.upload') }} </a-button>
+ <a-button :disabled="options.img === ''" type="primary" @click="uploadIcon('blob')"> {{ $t('label.upload') }} </a-button>
</a-col>
<a-col :xs="{span: 2, offset: 5}" :md="2">
<a-button