Added new quicklaunch type searchSuggestion.
This represents a search suggestion in the quick launch. This commit also adds the locales for it in en and de
This commit is contained in:
parent
a442c4d968
commit
86ec610345
@ -419,7 +419,8 @@
|
||||
"search": "Suchen",
|
||||
"custom": "Benutzerdefiniert",
|
||||
"visit": "Besuchen",
|
||||
"url": "URL"
|
||||
"url": "URL",
|
||||
"searchsuggestion": "Vorschlag"
|
||||
},
|
||||
"wmo": {
|
||||
"0-day": "sonnig",
|
||||
|
||||
@ -419,7 +419,8 @@
|
||||
"search": "Search",
|
||||
"custom": "Custom",
|
||||
"visit": "Visit",
|
||||
"url": "URL"
|
||||
"url": "URL",
|
||||
"searchsuggestion": "Suggestion"
|
||||
},
|
||||
"wmo": {
|
||||
"0-day": "Sunny",
|
||||
|
||||
@ -150,7 +150,7 @@ export default function QuickLaunch({
|
||||
searchSuggestions[1].map((suggestion) => ({
|
||||
href: searchProvider.url + encodeURIComponent(suggestion),
|
||||
name: suggestion,
|
||||
type: "search",
|
||||
type: "searchSuggestion",
|
||||
})),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user