mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
Reset state on every execution
This commit is contained in:
parent
fff281091d
commit
e7b16189a5
|
@ -5,7 +5,7 @@
|
||||||
<el-button
|
<el-button
|
||||||
v-if="node && !isReadOnly"
|
v-if="node && !isReadOnly"
|
||||||
:disabled="workflowRunning"
|
:disabled="workflowRunning"
|
||||||
@click.stop="runWorkflow(node.name)"
|
@click.stop="runWorkflow(node.name);concealFullError()"
|
||||||
class="execute-node-button"
|
class="execute-node-button"
|
||||||
:title="`Executes this ${node.name} node after executing any previous nodes that have not yet returned data`"
|
:title="`Executes this ${node.name} node after executing any previous nodes that have not yet returned data`"
|
||||||
>
|
>
|
||||||
|
@ -18,7 +18,8 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
@click.stop="revealError"
|
@click.stop="revealFullError"
|
||||||
|
:disabled="workflowRunning"
|
||||||
class="reveal-full-error-button"
|
class="reveal-full-error-button"
|
||||||
title="Reveal the full error returned by the API response."
|
title="Reveal the full error returned by the API response."
|
||||||
>
|
>
|
||||||
|
@ -609,9 +610,11 @@ export default mixins(
|
||||||
this.showData = true;
|
this.showData = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
revealError() {
|
revealFullError() {
|
||||||
this.showFullError = true;
|
this.showFullError = true;
|
||||||
console.log("reveal error fired");
|
},
|
||||||
|
concealFullError() {
|
||||||
|
this.showFullError = false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
Loading…
Reference in a new issue