aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts
diff options
context:
space:
mode:
authorimamSidero <imam.hussain@est.tech>2023-03-09 16:47:20 +0000
committerMichael Morris <michael.morris@est.tech>2023-03-13 09:33:57 +0000
commit532cb373b22b5684cbe6ea003d749560f051be08 (patch)
tree38c75d9958bb7d27b5494bbaa3542e42d78353bd /catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts
parent0606cf6d6dd2cd4630f4cdd14e2e1eee626ca377 (diff)
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 <imam.hussain@est.tech> Change-Id: I3c640f51fceb96701296b5e561e45d65dcc599c3
Diffstat (limited to 'catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts')
-rw-r--r--catalog-ui/src/app/directives/property-types/type-map/type-map-directive.ts4
1 files changed, 3 insertions, 1 deletions
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';