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 e6f9fe2 commit 826f04b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,16 +541,17 @@ Vue.component("hosttype-select", {
props: ['label', 'title', 'selectoptions', 'showhelp', 'small', 'selectsearch', 'retired', 'enablemultiplehosttypes', 'disablebackupinstancetypes'],
computed: {
isVisible: function () {
console.log(!this.disablebackupinstancetypes);
return !this.disablebackupinstancetypes
console.log(this.disablebackupinstancetypes);
console.log(this.disablebackupinstancetypes === "False");
return this.disablebackupinstancetypes === "False"
}
},
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',
selectClass: this.selectsearch ? 'form-control single-select-search' : 'form-control'
}
},
methods: {
Expand Down

0 comments on commit 826f04b

Please sign in to comment.