From 8edfa4dee9fed9be5b38133847c60136294eba80 Mon Sep 17 00:00:00 2001 From: vasraz Date: Wed, 18 Jan 2023 22:16:17 +0000 Subject: Fix 'Primitive types should not be shown under data types in catalog'-bug Signed-off-by: Vasyl Razinkov Change-Id: Ic20f7c5a0784c2107061f268c5c2e03ab34c13cc Issue-ID: SDC-4338 --- catalog-ui/src/app/services/data-types-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catalog-ui/src/app/services') diff --git a/catalog-ui/src/app/services/data-types-service.ts b/catalog-ui/src/app/services/data-types-service.ts index b27f4222c4..f3d02a20c0 100644 --- a/catalog-ui/src/app/services/data-types-service.ts +++ b/catalog-ui/src/app/services/data-types-service.ts @@ -98,9 +98,9 @@ export class DataTypesService implements IDataTypesService { return this.dataTypes; } - public getDataTypesFromAllModel = (): Observable> => { + public getDataTypesFromAllModelExcludePrimitives = (): Observable> => { return new Observable>(subscriber => { - this.$http.get>(this.baseUrl + "allDataTypes") + this.$http.get>(this.baseUrl + "allDataTypes?excludePrimitives=true") .then(promiseValue => { const allDataTypes = this.getDataTypesItems(promiseValue.data); subscriber.next(allDataTypes); -- cgit 1.2.3-korg