🐛 Apply default save manual executions (#2286)

* revert savemanualexecution changes

* update toasts behavior to handle default case
This commit is contained in:
Mutasem Aldmour
2021-10-06 19:13:39 +02:00
committed by GitHub
parent 7159181345
commit e2daa523d4
4 changed files with 12 additions and 4 deletions

View File

@@ -219,13 +219,15 @@ export const pushConnection = mixins(
const workflow = this.getWorkflow();
if (runDataExecuted.waitTill !== undefined) {
const {
isNewWorkflow,
activeExecutionId,
workflowSettings,
saveManualExecutions,
} = this.$store.getters;
const isSavingExecutions= workflowSettings.saveManualExecutions === undefined ? saveManualExecutions : workflowSettings.saveManualExecutions;
let action;
if (isNewWorkflow || !saveManualExecutions) {
if (!isSavingExecutions) {
action = '<a class="open-settings">Turn on saving manual executions</a> and run again to see what happened after this node.';
}
else {