Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaqin Li committed Sep 7, 2024
1 parent b4b99fa commit e6f9fe2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,18 @@ Vue.component("hosttype-select", {
<label for="checkbox">Enable Backup instance types</label>\
</div></div>',
props: ['label', 'title', 'selectoptions', 'showhelp', 'small', 'selectsearch', 'retired', 'enablemultiplehosttypes', 'disablebackupinstancetypes'],
computed: {
isVisible: function () {
console.log(!this.disablebackupinstancetypes);
return !this.disablebackupinstancetypes
}
},
data: function () {
return {
width: this.small ? 'col-xs-4' : 'col-xs-10',
formStyle: this.small ? '' : 'form-group',
groupStyle: this.showhelp ? 'input-group' : '',
selectClass: this.selectsearch ? 'form-control single-select-search' : 'form-control',
isVisible: !this.disablebackupinstancetypes
}
},
methods: {
Expand Down

0 comments on commit e6f9fe2

Please sign in to comment.