Update quicklaunch.jsx
This commit is contained in:
parent
2df798834b
commit
fb08a73a10
@ -42,14 +42,13 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If there is no search provider in quick launch settings try to get the value from search widget,
|
if (searchProvider) {
|
||||||
// if it's not specified there either then set the value to false
|
|
||||||
if (searchProvider)
|
|
||||||
searchProvider.showSearchSuggestions = !!(
|
searchProvider.showSearchSuggestions = !!(
|
||||||
settings?.quicklaunch?.showSearchSuggestions ??
|
settings?.quicklaunch?.showSearchSuggestions ??
|
||||||
searchWidget?.options?.showSearchSuggestions ??
|
searchWidget?.options?.showSearchSuggestions ??
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
function openCurrentItem(newWindow) {
|
function openCurrentItem(newWindow) {
|
||||||
const result = results[currentItemIndex];
|
const result = results[currentItemIndex];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user