From 70500a6af0d3768f3db4877d2236d98ad800a1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= <anne.lhote@gmail.com> Date: Fri, 20 Oct 2023 17:58:09 +0200 Subject: [PATCH] fix(ui): Restore filters --- client/src/pages/home/filters.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/home/filters.jsx b/client/src/pages/home/filters.jsx index a861ca8b..54448dc8 100644 --- a/client/src/pages/home/filters.jsx +++ b/client/src/pages/home/filters.jsx @@ -118,7 +118,7 @@ export default function Filters({ sendQuery }) { </Col> <Col n="3"> { - currentSearchParams.datasources.includes('bso') && ( + currentSearchParams?.datasources && currentSearchParams.datasources.includes('bso') && ( <> BSO Identifiers: <CheckboxGroup isInline>