Skip to content

Commit f6da8de

Browse files
committed
update: logic, count can be same and cause issues!
1 parent a94470e commit f6da8de

File tree

1 file changed

+2
-6
lines changed
  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]

1 file changed

+2
-6
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/spreadsheet.svelte

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,8 @@
108108
paginatedRows.clear();
109109
paginatedRows.setPage(1, $rows.rows);
110110
111-
const hashedKey = hash($rows.total.toString());
112-
113-
if ($spreadsheetRenderKey !== hashedKey) {
114-
/* reset ui when the underlying data changes */
115-
spreadsheetRenderKey.set(hashedKey);
116-
}
111+
/* reset ui when the underlying data changes */
112+
spreadsheetRenderKey.set(hash(Date.now().toString()));
117113
}
118114
119115
const tableId = page.params.table;

0 commit comments

Comments
 (0)