From c53d40dd69c956dabfd30eb7dcecad03151747fe Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Wed, 5 Oct 2022 14:54:09 +0100 Subject: Support viewing of VFC property details when checked in Issue-ID: SDC-4208 Signed-off-by: JvD_Ericsson Change-Id: I4c16ca4058716bfee6a52b37604a045ecabc975c --- .../app/view-models/workspace/tabs/properties/properties-view-model.ts | 2 +- .../src/app/view-models/workspace/tabs/properties/properties-view.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'catalog-ui/src/app/view-models/workspace') diff --git a/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view-model.ts b/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view-model.ts index b15901461a..656c52f908 100644 --- a/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view-model.ts +++ b/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view-model.ts @@ -73,7 +73,7 @@ export class PropertiesViewModel { } private openEditPropertyModal = (property:PropertyModel):void => { - this.ModalsHandler.openEditPropertyModal(property, this.$scope.component, this.$scope.filteredProperties, false, 'component', this.$scope.component.uniqueId); + this.ModalsHandler.openEditPropertyModal(property, this.$scope.component, this.$scope.filteredProperties, false, 'component', this.$scope.component.uniqueId, this.$scope.isViewMode()); }; private initScope = ():void => { diff --git a/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view.html b/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view.html index 1d8a2ff78c..38a8405241 100644 --- a/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view.html +++ b/catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view.html @@ -44,8 +44,7 @@
{{property.name}} + data-ng-click="addOrUpdateProperty(property); $event.stopPropagation();">{{property.name}}
-- cgit 1.2.3-korg