Skip to content

Commit

Permalink
Update quicklaunch.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Jun 1, 2024
1 parent 1ead020 commit 6e1ccdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/quicklaunch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea

if (settings?.quicklaunch?.provider === "custom" && settings?.quicklaunch?.url?.length > 0) {
searchProvider = settings.quicklaunch;
} else if (settings?.quicklaunch?.provider !== "custom") {
} else if (settings?.quicklaunch?.provider && settings?.quicklaunch?.provider !== "custom") {
searchProvider = searchProviders[settings.quicklaunch.provider];
} else if (searchWidget) {
// If there is no search provider in quick launch settings, try to get it from the search widget
Expand Down

0 comments on commit 6e1ccdb

Please sign in to comment.