Fixed minor issues with app deployment etc

This commit is contained in:
Frikky
2025-04-03 22:48:51 +02:00
parent b204296e71
commit 9dbe9b8077
11 changed files with 18 additions and 18 deletions
+2 -1
View File
@@ -837,12 +837,13 @@ const NotificationItem = memo((props) => {
color="secondary"
style={{
height: 50,
textTransform: "none",
}}
onClick={() => {
dismissNotification(data.id);
}}
>
Mark Read
Mark as Read
</Button>
) : null}
+1 -1
View File
@@ -21552,7 +21552,7 @@ const AngularWorkflow = (defaultprops) => {
onClick={(e) => {
e.preventDefault()
e.stopPropagation()
window.open(`/admin?admin_tab=notifications&workflow=${data.workflow.id}&execution_id=${data.execution_id}`, "_blank")
window.open(`/admin?org_id=${workflow.org_id}&admin_tab=notifications&workflow=${data.workflow.id}&execution_id=${data.execution_id}`, "_blank")
}}
/>
</Tooltip>
+2 -3
View File
@@ -943,8 +943,8 @@ const AppCreator = (defaultprops) => {
if (newaction.url !== undefined && newaction.url !== null && newaction.url.includes("_shuffle_replace_")) {
//const regex = /_shuffle_replace_\d/i;
const regex = /_shuffle_replace_\d+/i
newaction.url = newaction.url.replaceAll(new RegExp(regex, 'g'), "")
const newurl = newaction.url.replaceAll(new RegExp(regex, 'g'), "")
newaction.url = newurl
}
// Finding category
@@ -956,7 +956,6 @@ const AppCreator = (defaultprops) => {
if (pathsplit[splitkey].includes("_shuffle_replace_")) {
//const regex = /_shuffle_replace_\d/i;
const regex = /_shuffle_replace_\d+/i
//console.log("NEW: ",
pathsplit[splitkey] = pathsplit[splitkey].replaceAll(new RegExp(regex, 'g'), "")
}