From 3b6202610f291b83880757b6e1c0d38660d0ebe5 Mon Sep 17 00:00:00 2001 From: Jerome Viveret Date: Fri, 7 Oct 2022 09:13:49 +0200 Subject: [PATCH] fix: wrong UI data source type display Signed-off-by: Jerome Viveret --- ui/src/pages/data-sources/DataSourcesListingTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/pages/data-sources/DataSourcesListingTable.tsx b/ui/src/pages/data-sources/DataSourcesListingTable.tsx index 50c1f933a9c..ad549f991e0 100644 --- a/ui/src/pages/data-sources/DataSourcesListingTable.tsx +++ b/ui/src/pages/data-sources/DataSourcesListingTable.tsx @@ -33,8 +33,8 @@ const DatasourcesListingTable = ({ name: "Type", field: "type", sortable: true, - render: (valueType: feast.types.ValueType.Enum) => { - return feast.types.ValueType.Enum[valueType]; + render: (valueType: feast.core.DataSource.SourceType) => { + return feast.core.DataSource.SourceType[valueType]; }, }, ];