diff options
Diffstat (limited to 'catalog-ui/src/app/services')
-rw-r--r-- | catalog-ui/src/app/services/data-types-service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<Array<DataTypeModel>> => { + public getDataTypesFromAllModelExcludePrimitives = (): Observable<Array<DataTypeModel>> => { return new Observable<Array<DataTypeModel>>(subscriber => { - this.$http.get<List<DataTypesMap>>(this.baseUrl + "allDataTypes") + this.$http.get<List<DataTypesMap>>(this.baseUrl + "allDataTypes?excludePrimitives=true") .then(promiseValue => { const allDataTypes = this.getDataTypesItems(promiseValue.data); subscriber.next(allDataTypes); |