Fix non-custom search widget show suggestions fallback

This commit is contained in:
shamoon 2024-01-30 11:11:21 -08:00
parent ef25756534
commit 31ca40393a

View File

@ -215,6 +215,8 @@ function Home({ initialSettings }) {
} else {
searchProvider = searchProviders[searchWidget.options?.provider];
}
// to pass to quicklaunch
searchProvider.showSearchSuggestions = searchWidget.options?.showSearchSuggestions;
}
const headerStyle = settings?.headerStyle || "underlined";