mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: selection and deletion bug on spreadsheet.
This commit is contained in:
1 parent
28d90a2e9a
commit
6832224256
1 file changed
+8
-1
+8
-1
@@ -104,9 +104,16 @@
|
||||
};
|
||||
|
||||
$: rows = writable(data.rows);
|
||||
$: if (rows) {
|
||||
$: if ($rows) {
|
||||
paginatedRows.clear();
|
||||
paginatedRows.setPage(1, $rows.rows);
|
||||
|
||||
const hashedKey = hash($rows.total.toString());
|
||||
|
||||
if ($spreadsheetRenderKey !== hashedKey) {
|
||||
/* reset ui when the underlying data changes */
|
||||
spreadsheetRenderKey.set(hash(data.rows.total.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
const tableId = page.params.table;
|
||||
|
||||
Reference in new issue
Block a user