Merge pull request #1620 from LalitDeore/test

Fix - App activation and redirection issue for onprem
This commit is contained in:
Frikky
2025-02-11 02:36:53 +01:00
committed by GitHub
5 changed files with 200 additions and 28 deletions
+2 -2
View File
@@ -417,8 +417,8 @@ const AppGrid = (props) => {
{hits.map((data, index) => {
const appUrl =
isCloud === true ?
`/apps/${data.id}`
: `https://shuffler.io/apps/${data.objectID}`;
`/apps/${data.objectID}`
: `apps/${data.objectID}`;
if (data.name === "" && data.id === "") {
return null
+1 -1
View File
@@ -590,7 +590,7 @@ const AppModal = ({ open, onClose, app, globalUrl, getApps }) => {
</Typography>
</a>
<Link
to={isCloud ? "/apps/" + (app?.id || app?.objectID) : `https://shuffler.io/apps/${app?.objectID || app?.id}`}
to={isCloud ? `/apps/${app?.id || app?.objectID}` : `/apps/${app?.id || app?.published_id || app?.objectID}`}
style={{ textDecoration: "none", color: "#f85a3e", marginTop: "-2px" }}
target="_blank"
rel="noopener noreferrer"
+1 -1
View File
@@ -495,7 +495,7 @@ const SearchData = props => {
})
}
var parsedUrl = isCloud ? `/apps/${hit.objectID}` : `https://shuffler.io/apps/${hit.objectID}`
var parsedUrl = isCloud ? `/apps/${hit.objectID}` : `/apps/${hit.objectID}`
parsedUrl += `?queryID=${hit.__queryID}`
return (