mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🐛 Fix bug with dirty state checking
This commit is contained in:
parent
cb496b8c4d
commit
c38a2f4210
|
@ -258,7 +258,7 @@ export const store = new Vuex.Store({
|
||||||
|
|
||||||
},
|
},
|
||||||
removeAllConnections (state, data) {
|
removeAllConnections (state, data) {
|
||||||
if (data.setStateDirty === true) {
|
if (data && data.setStateDirty === true) {
|
||||||
state.stateIsDirty = true;
|
state.stateIsDirty = true;
|
||||||
}
|
}
|
||||||
state.workflow.connections = {};
|
state.workflow.connections = {};
|
||||||
|
|
Loading…
Reference in a new issue