Minor fixes to workflow UI

This commit is contained in:
frikky
2022-01-27 02:45:49 +01:00
parent 7eb68192b9
commit 961d56e52b
2 changed files with 11 additions and 1 deletions
+9
View File
@@ -11059,6 +11059,14 @@ const AngularWorkflow = (defaultprops) => {
// Especially important IF the result is > 1 Mb in cloud
var checkStarted = false
if (isCloud && data.results !== undefined && data.results !== null && data.results.length > 0) {
if (data.execution_argument !== undefined && data.execution_argument !== null && data.execution_argument.includes("too large")) {
setExecutionData({});
checkStarted = true
start();
setExecutionRunning(true);
setExecutionRequestStarted(false);
} else {
for (var key in data.results) {
if (data.results[key].status !== "SUCCESS") {
continue
@@ -11073,6 +11081,7 @@ const AngularWorkflow = (defaultprops) => {
break
}
}
}
}
const cur_execution = {
+2 -1
View File
@@ -181,7 +181,8 @@ const LoginDialog = (props) => {
setIsLoggedIn(true);
navigate("/workflows")
//navigate("/workflows")
window.location.href = "/workflows"
}
})
)