mirror of https://github.com/apache/cloudstack.git
Fix visibility of action buttons for Isos and templates (#775)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
b15f3dca26
commit
7c8fc60471
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue