|
|
@ -19,7 +19,7 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
|
|
|
|
|
|
|
|
|
|
|
|
function openCurrentItem(newWindow) {
|
|
|
|
function openCurrentItem(newWindow) {
|
|
|
|
const result = results[currentItemIndex];
|
|
|
|
const result = results[currentItemIndex];
|
|
|
|
window.open(result.href, newWindow ? "_blank" : result.target ?? settings.target ?? "_blank");
|
|
|
|
window.open(result.href, newWindow ? "_blank" : result.target ?? settings.target ?? "_blank", 'noreferrer');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const closeAndReset = useCallback(() => {
|
|
|
|
const closeAndReset = useCallback(() => {
|
|
|
@ -87,7 +87,7 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
|
|
|
|
if (searchDescriptions) {
|
|
|
|
if (searchDescriptions) {
|
|
|
|
newResults = newResults.sort((a, b) => b.priority - a.priority);
|
|
|
|
newResults = newResults.sort((a, b) => b.priority - a.priority);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (searchProvider) {
|
|
|
|
if (searchProvider) {
|
|
|
|
newResults.push(
|
|
|
|
newResults.push(
|
|
|
|
{
|
|
|
|
{
|
|
|
|