Fix loading issue and double errors in properties assignment 54/129554/3
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>
Wed, 8 Jun 2022 15:58:59 +0000 (16:58 +0100)
committerAndr� Schmid <andre.schmid@est.tech>
Thu, 16 Jun 2022 14:27:55 +0000 (14:27 +0000)
Issue-ID: SDC-4038
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Id028501226cf23239e528efbfb49cd60284bad37

catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts

index ab67b0c..9f721d5 100644 (file)
@@ -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;
         });