mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 01:03:58 +00:00
ts const fix
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (index >= 0 && index + d >= 0 && index + d < current.columns?.length) {
|
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]];
|
[columns[index], columns[index + d]] = [columns[index + d], columns[index]];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user