fix: set autocomplete data as empty array

This commit is contained in:
Arpad Gabor 2021-10-23 18:39:34 +03:00
parent c63f365a65
commit 7a020d079f

View file

@ -71,7 +71,7 @@ export default mixins(genericHelpers).extend({
loadAutocompleteData(): void {
const executedWorkflow: IExecutionResponse | null = this.$store.getters.getWorkflowExecution;
let autocompleteData: INodeExecutionData[] = [{ json: { myNewField: 2 } }];
let autocompleteData: INodeExecutionData[] = [];
if (executedWorkflow) {
const lastNodeExecuted = executedWorkflow.data.resultData.lastNodeExecuted;