diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2022-10-05 14:54:09 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-10-14 05:53:38 +0000 |
commit | c53d40dd69c956dabfd30eb7dcecad03151747fe (patch) | |
tree | 6372171ea4e168a0619b3e0ca1e924fa45757bfb /catalog-ui/src/app/view-models/workspace | |
parent | b24a4f2f4edf845c10ef42545496256b0bdbb8a8 (diff) |
Support viewing of VFC property details when checked in
Issue-ID: SDC-4208
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I4c16ca4058716bfee6a52b37604a045ecabc975c
Diffstat (limited to 'catalog-ui/src/app/view-models/workspace')
-rw-r--r-- | catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view-model.ts | 2 | ||||
-rw-r--r-- | catalog-ui/src/app/view-models/workspace/tabs/properties/properties-view.html | 3 |
2 files changed, 2 insertions, 3 deletions
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 @@ <div class="table-col-general flex-item text" tooltips tooltip-content="{{property.name}}"> <a data-tests-id="propertyName_{{property.name}}" - data-ng-click="addOrUpdateProperty(property); $event.stopPropagation();" - data-ng-class="{'disabled': isViewMode()}">{{property.name}}</a> + data-ng-click="addOrUpdateProperty(property); $event.stopPropagation();">{{property.name}}</a> </div> |