mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 16:30:31 +00:00
Merge pull request #923 from benphelps/fix-065-search
Fix search broken in 0.6.5
This commit is contained in:
commit
29e0b309e5
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export default function Search({ options }) {
|
||||||
function handleSubmit(event) {
|
function handleSubmit(event) {
|
||||||
const q = encodeURIComponent(query);
|
const q = encodeURIComponent(query);
|
||||||
|
|
||||||
const url = { selectedProvider };
|
const { url } = selectedProvider;
|
||||||
if (url) {
|
if (url) {
|
||||||
window.open(`${url}${q}`, options.target || "_blank");
|
window.open(`${url}${q}`, options.target || "_blank");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue