You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/10/05 11:51:16 UTC
[cloudstack-primate] branch master updated: Fix visibility of
action buttons for Isos and templates (#775)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 7744a75 Fix visibility of action buttons for Isos and templates (#775)
7744a75 is described below
commit 7744a756dcbd71322fe062878d093920db1e4e8e
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Mon Oct 5 17:21:07 2020 +0530
Fix visibility of action buttons for Isos and templates (#775)
Co-authored-by: Pearl Dsilva <pe...@shapeblue.com>
---
src/views/image/IsoZones.vue | 2 +-
src/views/image/TemplateZones.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/image/IsoZones.vue b/src/views/image/IsoZones.vue
index c6df3f6..562103a 100644
--- a/src/views/image/IsoZones.vue
+++ b/src/views/image/IsoZones.vue
@@ -32,7 +32,7 @@
<template slot="action" slot-scope="text, record">
<span style="margin-right: 5px">
<a-button
- :disabled="!('copyIso' in $store.getters.apis)"
+ :disabled="!('copyIso' in $store.getters.apis && record.isready)"
icon="copy"
shape="circle"
:loading="copyLoading"
diff --git a/src/views/image/TemplateZones.vue b/src/views/image/TemplateZones.vue
index a9786c7..cdb221f 100644
--- a/src/views/image/TemplateZones.vue
+++ b/src/views/image/TemplateZones.vue
@@ -32,7 +32,7 @@
<template slot="action" slot-scope="text, record">
<span style="margin-right: 5px">
<a-button
- :disabled="!('copyTemplate' in $store.getters.apis)"
+ :disabled="!('copyTemplate' in $store.getters.apis && record.isready)"
icon="copy"
shape="circle"
:loading="copyLoading"