From 532cb373b22b5684cbe6ea003d749560f051be08 Mon Sep 17 00:00:00 2001 From: imamSidero Date: Thu, 9 Mar 2023 16:47:20 +0000 Subject: Fix issue on list and map property entries in composition view List and map entries are rendered correctly on composition view Issue-ID: SDC-4404 Signed-off-by: Imam hussain Change-Id: I3c640f51fceb96701296b5e561e45d65dcc599c3 --- .../src/app/directives/property-types/type-map/type-map-directive.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts') diff --git a/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts b/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts index 456c66a710..f8fa6dd359 100644 --- a/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts +++ b/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts @@ -48,6 +48,7 @@ export interface ITypeMapScope extends ng.IScope { showAddBtn: boolean; showToscaFunction: boolean[]; types: DataTypesMap; + isService: boolean; getValidationPattern(type: string): RegExp; validateIntRange(value: string): boolean; @@ -75,7 +76,8 @@ export class TypeMapDirective implements ng.IDirective { constraints: '=', showAddBtn: '=?', parentProperty: '=', - types: '=' + types: '=', + isService: '=' }; restrict = 'E'; -- cgit 1.2.3-korg