From 097ca1640d7fe865649827635118bfa633fed805 Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Wed, 8 Jun 2022 16:58:59 +0100 Subject: Fix loading issue and double errors in properties assignment Issue-ID: SDC-4038 Signed-off-by: KrupaNagabhushan Change-Id: Id028501226cf23239e528efbfb49cd60284bad37 --- .../properties-assignment.page.component.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'catalog-ui') 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; }); -- cgit 1.2.3-korg