Added search engine to open source Shuffle with external links

This commit is contained in:
frikky
2022-06-21 01:38:40 +02:00
parent a792766b3b
commit daf200149f
13 changed files with 2472 additions and 12 deletions
+6 -1
View File
@@ -91,6 +91,11 @@ const WorkflowPaper = (props) => {
}
//console.log("IMG: ", data)
var parsedUrl = `workflows/${data.objectID}`
if (data.__queryID !== undefined && data.__queryID !== null) {
parsedUrl += `?queryID=${data.__queryID}`
}
return (
<div style={{width: "100%", position: "relative",}}>
@@ -134,7 +139,7 @@ const WorkflowPaper = (props) => {
}}
>
<Link
to={"/workflows/" + data.objectID}
to={parsedUrl}
style={{ textDecoration: "none", color: "inherit" }}
>
{parsedName}