From cc65a75e226f9e7fbd6c32c7683815d7c1ae2986 Mon Sep 17 00:00:00 2001 From: Andrei Zhaleznichenka Date: Mon, 24 Jul 2023 12:15:49 +0200 Subject: [PATCH] fix last-visible bug --- src/table/use-column-widths.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table/use-column-widths.ts b/src/table/use-column-widths.ts index a4fe7e0264..08aa9175fd 100644 --- a/src/table/use-column-widths.ts +++ b/src/table/use-column-widths.ts @@ -85,8 +85,8 @@ class ColumnWidthsStore extends AsyncStore { return { visibleColumns, columnWidths, totalWidth }; }); } - this.lastVisible = visibleColumns.map(column => column.id); } + this.lastVisible = visibleColumns.map(column => column.id); }; updateColumnWidth = (columnId: PropertyKey, newWidth: number) => {