Workflow Action Rerun optimization

This commit is contained in:
Frikky
2025-03-25 00:54:32 +01:00
parent a2e4d37eea
commit a3b0093cf5
9 changed files with 301 additions and 55 deletions
+9 -2
View File
@@ -527,6 +527,8 @@ const Settings = (props) => {
};
const generateApikey = () => {
toast.info("Generating new API key. This may take a bit.");
fetch(globalUrl + "/api/v1/generateapikey", {
method: "GET",
headers: {
@@ -538,7 +540,7 @@ const Settings = (props) => {
.then((response) => {
if (response.status !== 200) {
console.log("Status not 200 for WORKFLOW EXECUTION :O!");
}
}
return response.json();
})
@@ -836,7 +838,12 @@ const Settings = (props) => {
variant="outlined"
/>
<Button
style={{ width: "100%", height: "40px", marginTop: "10px" }}
style={{
width: "100%",
height: "40px",
marginTop: "10px",
textTransform: "none",
}}
variant="outlined"
color="primary"
onClick={() => generateApikey()}