From: KrupaNagabhushan Date: Wed, 8 Jun 2022 15:58:59 +0000 (+0100) Subject: Fix loading issue and double errors in properties assignment X-Git-Tag: 1.11.5~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=097ca1640d7fe865649827635118bfa633fed805;p=sdc.git Fix loading issue and double errors in properties assignment Issue-ID: SDC-4038 Signed-off-by: KrupaNagabhushan Change-Id: Id028501226cf23239e528efbfb49cd60284bad37 --- diff --git a/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts b/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts index ab67b0c827..9f721d5cdd 100644 --- a/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts +++ b/catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts @@ -604,13 +604,8 @@ export class PropertiesAssignmentComponent { .subscribe(() => { this.changeSelectedInstance(this.getSelectedComponentInstance()); }, (error) => { - const errorMsg = - this.translateService.translate('TOSCA_FUNCTION_SELECT_ERROR', {'propertyName': instanceProperty.name, 'error': error}); - this.notification.error({ - title: this.translateService.translate('FAILURE_LABEL'), - message: errorMsg - }); - console.error(errorMsg, error); + this.loadingProperties = false; + console.error(error); }, () => { this.loadingProperties = false; });