upgrade electron && db drivers

This commit is contained in:
Jan Prochazka
2024-05-08 10:17:45 +02:00
parent bde4127b33
commit b1cf418058
15 changed files with 2141 additions and 2050 deletions

View File

@@ -83,8 +83,8 @@
"webpack-cli": "^3.3.11"
},
"optionalDependencies": {
"better-sqlite3": "7.6.2",
"msnodesqlv8": "^2.6.0",
"better-sqlite3": "9.6.0",
"msnodesqlv8": "^4.2.1",
"oracledb": "^5.5.0"
}
}

View File

@@ -49,7 +49,9 @@
if (index >= 0 && index + d >= 0 && index + d < current.columns?.length) {
let columns = [...current.columns];
[columns[index], columns[index + d]] = [columns[index + d], columns[index]];
const tmp = columns[index + d];
columns[index + d] = columns[index];
columns[index] = tmp;
return {
...current,