mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
parent
9bf71e73cc
commit
ad0c214f8e
|
@ -324,7 +324,7 @@ export const workflowHelpers = mixins(
|
||||||
const nodes = this.getNodes();
|
const nodes = this.getNodes();
|
||||||
const connections = (this.$store.getters.allConnections as IConnections);
|
const connections = (this.$store.getters.allConnections as IConnections);
|
||||||
const cacheKey = JSON.stringify({nodes, connections});
|
const cacheKey = JSON.stringify({nodes, connections});
|
||||||
if (cachedWorkflow && cacheKey === cachedWorkflowKey) {
|
if (!copyData && cachedWorkflow && cacheKey === cachedWorkflowKey) {
|
||||||
return cachedWorkflow;
|
return cachedWorkflow;
|
||||||
}
|
}
|
||||||
cachedWorkflowKey = cacheKey;
|
cachedWorkflowKey = cacheKey;
|
||||||
|
|
Loading…
Reference in a new issue