From 64ac19859cb01cbc0947b9e75c5b3eb10043fa89 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 1 Feb 2024 01:32:47 -0800 Subject: [PATCH] Fix quicklaunch failing to load without search provider --- src/components/quicklaunch.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/quicklaunch.jsx b/src/components/quicklaunch.jsx index e83de369f..23f7cef9b 100644 --- a/src/components/quicklaunch.jsx +++ b/src/components/quicklaunch.jsx @@ -19,7 +19,7 @@ export default function QuickLaunch({ const { settings } = useContext(SettingsContext); const { searchDescriptions = false, hideVisitURL = false } = settings?.quicklaunch ?? {}; const showSearchSuggestions = !!( - settings?.quicklaunch?.showSearchSuggestions ?? searchProvider.showSearchSuggestions + settings?.quicklaunch?.showSearchSuggestions ?? searchProvider?.showSearchSuggestions ); const searchField = useRef();