Skip to content

Commit

Permalink
Add migration script to set controller type to grbl in connection widget
Browse files Browse the repository at this point in the history
  • Loading branch information
walidkayhan committed Mar 15, 2024
1 parent 7f2ce42 commit 272b1e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ const migrateStore = () => {
return;
}

if (semver.lt(cnc.version, '1.4.4')) {
store.replace('widgets.connection.controller.type', 'Grbl');
}

if (semver.lt(cnc.version, '1.4.3')) {
const storeProbe = store.get('workspace.probeProfile');
const defaultProbe = get(defaultState, 'workspace.probeProfile');
Expand Down

0 comments on commit 272b1e5

Please sign in to comment.