diff --git a/ui/src/views/offering/ImportBackupOffering.vue b/ui/src/views/offering/ImportBackupOffering.vue index cf6d00634924..1c2eb83d96ea 100644 --- a/ui/src/views/offering/ImportBackupOffering.vue +++ b/ui/src/views/offering/ImportBackupOffering.vue @@ -245,6 +245,10 @@ export default { this.useCommvault = false return } + if (!this.isCommvaultProvider) { + this.useCommvault = false + return + } const json = await api('listBackupOfferings') const backupOff = json.listbackupofferingsresponse.backupoffering || [] @@ -296,7 +300,7 @@ export default { if (this.loading) return this.formRef.value.validate().then(async () => { await this.checkBackupOffering() - if (this.useCommvault) { + if (this.isCommvaultProvider && this.useCommvault) { this.$notification.error({ message: this.$t('message.request.failed'), description: this.$t('message.error.import.backup.offering')