summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-06-08 16:58:59 +0100
committerAndr� Schmid <andre.schmid@est.tech>2022-06-16 14:27:55 +0000
commit097ca1640d7fe865649827635118bfa633fed805 (patch)
treef8e1ebb672364e5ab1d787f664dcac9323c749be /catalog-ui/src/app/ng2/pages
parent865692e5607193510a2cafbfee3a7f02560463d8 (diff)
Fix loading issue and double errors in properties assignment
Issue-ID: SDC-4038 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Id028501226cf23239e528efbfb49cd60284bad37
Diffstat (limited to 'catalog-ui/src/app/ng2/pages')
-rw-r--r--catalog-ui/src/app/ng2/pages/properties-assignment/properties-assignment.page.component.ts9
1 files changed, 2 insertions, 7 deletions
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;
});