Doing a point fix for backup since select box has impact on other features (#15415) (#15456)

This commit is contained in:
Udeesha Gautam
2021-05-13 12:45:24 -07:00
committed by GitHub
parent 419c2324c9
commit 3f10d89db3

View File

@@ -440,6 +440,9 @@ export class BackupComponent extends AngularDisposable {
// Set backup type
this.backupTypeSelectBox!.setOptions(this.backupTypeOptions, 0);
// The above call does not set the private variable for selectedOption variable in select box
// Doing a point fix for backup since select box changes have wider unwanted impact
this.backupTypeSelectBox!.select(0);
this.setDefaultBackupName();
this.backupNameBox!.focus();