🐛 Fix bug with dirty state checking

This commit is contained in:
Jan Oberhauser 2020-10-26 19:28:32 +01:00
parent cb496b8c4d
commit c38a2f4210

View file

@ -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 = {};