mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
ts const fix
This commit is contained in:
parent
9910bbead3
commit
f4a4eb7f9e
@ -47,7 +47,7 @@
|
||||
);
|
||||
|
||||
if (index >= 0 && index + d >= 0 && index + d < current.columns?.length) {
|
||||
const columns = [...current.columns];
|
||||
let columns = [...current.columns];
|
||||
|
||||
[columns[index], columns[index + d]] = [columns[index + d], columns[index]];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user