File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,9 @@ export default {
119119 })
120120 },
121121 fetchBackupRepository () {
122+ if (this .backupOffering .provider !== ' nas' ) {
123+ return
124+ }
122125 getAPI (' listBackupRepositories' , {
123126 id: this .backupOffering .externalid
124127 }).then (response => {
@@ -129,7 +132,7 @@ export default {
129132 populatePreFillData () {
130133 this .vmdetails = this .resource .vmdetails
131134 this .dataPreFill .zoneid = this .resource .zoneid
132- this .dataPreFill .draasenabled = this .backupRepository .draasenabled
135+ this .dataPreFill .draasenabled = this .backupRepository ? .draasenabled || this . backupOffering . provider === ' dummy '
133136 this .dataPreFill .isIso = (this .vmdetails .isiso === ' true' )
134137 this .dataPreFill .backupid = this .resource .id
135138 this .dataPreFill .computeofferingid = this .vmdetails .serviceofferingid
You can’t perform that action at this time.
0 commit comments