This commit is contained in:
Joshen Lim committed 2026-10-02 15:18:06 +08:00
1 parent 382557c473
commit 21aeaece95
1 file changed
+2 -1
@@ -42,7 +42,8 @@ const TableEditorPage: NextPageWithLayout = () => {
// the bare table id, so look up the tab by its metadata instead of by key.
const lastOpenedTableData = Object.values(tabStore.tabsMap).find(
(tab) =>
editorEntityTypes.table.includes(tab.type) && tab.metadata?.tableId === lastOpenedTableId
editorEntityTypes.table.includes(tab.type) &&
tab.metadata?.tableId === lastOpenedTableId
)
router.push(
buildTableEditorUrl({