Fix: Quicklaunch show only services with a link
Signed-off-by: Denis Papec <denis.papec@gmail.com>
This commit is contained in:
parent
76cbb6e2ed
commit
30ee825611
@ -117,7 +117,7 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
|
||||
)
|
||||
}
|
||||
|
||||
setResults(newResults);
|
||||
setResults(newResults.filter(r => r?.href));
|
||||
|
||||
if (newResults.length) {
|
||||
setCurrentItemIndex(0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user