mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
fix: set autocomplete data as empty array
This commit is contained in:
parent
c63f365a65
commit
7a020d079f
|
@ -71,7 +71,7 @@ export default mixins(genericHelpers).extend({
|
||||||
loadAutocompleteData(): void {
|
loadAutocompleteData(): void {
|
||||||
const executedWorkflow: IExecutionResponse | null = this.$store.getters.getWorkflowExecution;
|
const executedWorkflow: IExecutionResponse | null = this.$store.getters.getWorkflowExecution;
|
||||||
|
|
||||||
let autocompleteData: INodeExecutionData[] = [{ json: { myNewField: 2 } }];
|
let autocompleteData: INodeExecutionData[] = [];
|
||||||
|
|
||||||
if (executedWorkflow) {
|
if (executedWorkflow) {
|
||||||
const lastNodeExecuted = executedWorkflow.data.resultData.lastNodeExecuted;
|
const lastNodeExecuted = executedWorkflow.data.resultData.lastNodeExecuted;
|
||||||
|
|
Loading…
Reference in a new issue