aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts
diff options
context:
space:
mode:
authorimamSidero <imam.hussain@est.tech>2023-05-02 18:51:34 +0100
committerMichael Morris <michael.morris@est.tech>2023-05-10 14:10:21 +0000
commita147fbc8f026263ea6ee799c02371c68fd749aa9 (patch)
tree2f27e83ad3988ae2b9df20358d7d3c89aeb4c5d7 /catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts
parenta1ba3abf29613ee9e576a7c96a76ceb921086044 (diff)
Fix complex list/map entries in composition view
Complex list/map entries in composition view is visible and can add, edit and delete the entries Issue-ID: SDC-4482 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I1d1a33495f3ec45821ee40522c3884e43b380c62
Diffstat (limited to 'catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts')
-rw-r--r--catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts b/catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts
index 0d54fc4343..b2d322be1c 100644
--- a/catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts
+++ b/catalog-ui/src/app/directives/property-types/type-list/type-list-directive.ts
@@ -140,7 +140,7 @@ export class TypeListDirective implements ng.IDirective {
});
//reset valueObjRef when schema type is changed
scope.$watchCollection('schemaProperty.type', (newData:any):void => {
- scope.isSchemaTypeDataType = this.isDataTypeForSchemaType(scope.schemaProperty, scope.types);
+ scope.isSchemaTypeDataType = this.DataTypesService.isDataTypeForSchemaType(scope.schemaProperty);
});
//when user brows between properties in "edit property form"