From 78243027b242a4cd7e80e6c26ed1e4beebe76efe Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 15 Apr 2024 13:45:16 +0200 Subject: [PATCH] fix selects --- src/frontend/src/tables/Filter.tsx | 2 +- src/frontend/src/tables/FilterSelectDrawer.tsx | 2 +- src/frontend/src/tables/bom/BomTable.tsx | 6 ++++++ src/frontend/src/tables/bom/UsedInTable.tsx | 2 ++ src/frontend/src/tables/build/BuildLineTable.tsx | 1 + src/frontend/src/tables/build/BuildOrderTable.tsx | 2 ++ src/frontend/src/tables/machine/MachineListTable.tsx | 3 +++ src/frontend/src/tables/part/PartTestTemplateTable.tsx | 4 ++++ src/frontend/src/tables/stock/StockLocationTable.tsx | 2 ++ 9 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/tables/Filter.tsx b/src/frontend/src/tables/Filter.tsx index 4a61f30a12..cf6d7aabe9 100644 --- a/src/frontend/src/tables/Filter.tsx +++ b/src/frontend/src/tables/Filter.tsx @@ -20,7 +20,7 @@ export type TableFilterChoice = { */ export type TableFilter = { name: string; - label?: string; + label: string; description?: string; type?: string; choices?: TableFilterChoice[]; diff --git a/src/frontend/src/tables/FilterSelectDrawer.tsx b/src/frontend/src/tables/FilterSelectDrawer.tsx index c015769e08..a51c5a0b52 100644 --- a/src/frontend/src/tables/FilterSelectDrawer.tsx +++ b/src/frontend/src/tables/FilterSelectDrawer.tsx @@ -142,7 +142,7 @@ function FilterAddGroup({