From 5c479e96adbf67e65c6e13aa17e137d1ed865508 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Wed, 28 Dec 2022 01:45:08 -0800 Subject: [PATCH] Use initialWidth for persisted width --- src/renderer/components/virtual-table/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/virtual-table/index.tsx b/src/renderer/components/virtual-table/index.tsx index f513fd61..b56a401f 100644 --- a/src/renderer/components/virtual-table/index.tsx +++ b/src/renderer/components/virtual-table/index.tsx @@ -223,7 +223,7 @@ export const getColumnDefs = (columns: PersistedTableColumn[]) => { if (presetColumn) { columnDefs.push({ ...presetColumn, - width: column.width, + initialWidth: column.width, }); } }