Fix quicklaunch failing to load without search provider

pull/2809/head
shamoon 10 months ago
parent 20d1d8f914
commit 64ac19859c

@ -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();

Loading…
Cancel
Save