mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix bulk delete to respect filters by using correct row count
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
This commit is contained in:
co-authored by
stnguyen90
parent
16569bbbc5
commit
fb9bf42f13
+2
-4
@@ -744,9 +744,7 @@
|
||||
) as Models.ColumnRelationship[];
|
||||
|
||||
$: emptyCellsCount =
|
||||
$paginatedRows.virtualLength >= emptyCellsLimit
|
||||
? 0
|
||||
: emptyCellsLimit - $paginatedRows.virtualLength + (!$expandTabs ? 2 : 0);
|
||||
$rows.total >= emptyCellsLimit ? 0 : emptyCellsLimit - $rows.total + (!$expandTabs ? 2 : 0);
|
||||
|
||||
$: canShowDatetimePopover = true;
|
||||
|
||||
@@ -778,7 +776,7 @@
|
||||
bind:columns={$tableColumns}
|
||||
loading={$spreadsheetLoading}
|
||||
emptyCells={emptyCellsCount}
|
||||
rowCount={$paginatedRows.virtualLength}
|
||||
rowCount={$rows.total}
|
||||
bottomActionClick={() => (showRowCreateSheet.show = true)}
|
||||
on:columnsSwap={(order) => saveColumnsOrder(order.detail)}
|
||||
on:columnsResize={(resize) => saveColumnsWidth(resize.detail)}
|
||||
|
||||
Reference in New Issue
Block a user