From 801c06551b3b2ee4e2a20c0ee6cd13d8ad2cdfd8 Mon Sep 17 00:00:00 2001 From: anobaka Date: Mon, 27 Nov 2023 11:35:19 +0800 Subject: [PATCH] try fixing #471 --- .../src/pages/Resource/components/FilterPanel/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bakabase.InsideWorld.App.Core/ClientApp/src/pages/Resource/components/FilterPanel/index.tsx b/src/Bakabase.InsideWorld.App.Core/ClientApp/src/pages/Resource/components/FilterPanel/index.tsx index 4695f677..29253f19 100644 --- a/src/Bakabase.InsideWorld.App.Core/ClientApp/src/pages/Resource/components/FilterPanel/index.tsx +++ b/src/Bakabase.InsideWorld.App.Core/ClientApp/src/pages/Resource/components/FilterPanel/index.tsx @@ -451,6 +451,7 @@ export default React.memo((props: IProps) => { break; case FilterType.Select: label = f.multiple ? value.map((k) => f.dataSource!.find((x) => x.value == k)) + .filter(x => x != undefined) .map((x) => x.label) .join(', ') : f.dataSource!.find((x) => x.value == value)!.label; break;