From cc3dbe2cad689cadb92808a858391008f1084a0a Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Fri, 6 Dec 2024 07:00:37 +0000 Subject: [PATCH] fix: select all records tests --- .../smartsheet/grid/InfiniteTable.vue | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue index 720b00e985..8ee6663508 100644 --- a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue +++ b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue @@ -1775,9 +1775,8 @@ watch( }, ) - const toggleRowSelection = (row: number) => { - if(vSelectedAllRecords.value) return + if (vSelectedAllRecords.value) return const data = cachedRows.value.get(row) if (!data) return @@ -1795,7 +1794,6 @@ watch(vSelectedAllRecords, (selectedAll) => { } } }) -