From 8f280620bceb3a6e42ffffd0571eeb353b0feff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Viveret?= Date: Fri, 7 Oct 2022 18:41:35 +0200 Subject: [PATCH] fix: Wrong UI data source type display (#3276) fix: wrong UI data source type display Signed-off-by: Jerome Viveret 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 50c1f933a9..ad549f991e 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]; }, }, ];