From 7918513759a4a6fd5ae90640c6b654a1a61f46b8 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 9 Sep 2019 19:27:04 +0530 Subject: Resource Dictionary: fecthing data-type list Created loopback API function to fetch data-types from backend and display them in data-type drop-down Issue-ID: CCSDK-707 Change-Id: I797177b9042558c99a94df9c9dd4295c43389d29 Signed-off-by: Arundathi Patil --- .../resource-definition/resource-edit/resource-edit.service.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts') diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts index ed1ef6f37..f66a1c9c9 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts @@ -44,4 +44,8 @@ export class ResourceEditService { getModelType(name) { return this.api.get(ResourceDictionaryURLs.getModelType + '/' + name); } + + getDataTypes() { + return this.api.get(ResourceDictionaryURLs.getDataType); + } } \ No newline at end of file -- cgit 1.2.3-korg