We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f16be94 commit 9537afbCopy full SHA for 9537afb
1 file changed
ui/src/components/view/ImageDeployInstanceButton.vue
@@ -84,15 +84,15 @@ export default {
84
allowed () {
85
return (this.$route.meta.name === 'template' ||
86
(this.$route.meta.name === 'iso' && this.resource?.bootable)) &&
87
- this.resource?.state === 'Ready'
+ this.resource.isready
88
}
89
},
90
methods: {
91
fetchData () {
92
this.fetchResourceData()
93
94
fetchResourceData () {
95
- if (!this.resource || !this.resource.id || this.resource.state !== 'Ready') {
+ if (!this.resource || !this.resource.id || !this.resource.isready) {
96
return
97
98
const params = {
0 commit comments