+ delete this.vimNewAccountForm.value.config.location;
+ if (!isNullOrUndefined(this.data)) {
+ this.updateConfig = jsyaml.load(this.data, { json: true });
+ if (!isNullOrUndefined(this.updateConfig)) {
+ this.updateConfigLength = Object.keys(this.updateConfig).length;
+ }
+ }
+ if (this.updateConfig === undefined) {
+ this.notifierService.notify('warning', this.translateService.instant('PAGE.VIMDETAILS.VIMDELETE'));
+ this.isLocationLoadingResults = false;
+ } else if (this.getConfigLength > this.updateConfigLength) {
+ this.notifierService.notify('warning', this.translateService.instant('PAGE.VIMDETAILS.VIMEMPTY'));
+ this.isLocationLoadingResults = false;
+ }
+ if (!isNullOrUndefined(this.vimID) && ((this.getConfigLength <= this.updateConfigLength))) {