Skip to content

Commit f1712be

Browse files
committed
address rabbits comment.
1 parent 83a8870 commit f1712be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
{@const isLast = index === sortedEntities.length - 1}
117117
{@const href = withPath(
118118
databaseBaseRoute,
119-
`/${entityTypeSingular}-${entityId}`
119+
`/${entityTypeSingular}-${entity.$id}`
120120
)}
121121

122122
<Layout.Stack gap="s" direction="row" alignItems="center">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
});
376376
} else {
377377
if (selectedRows.length) {
378-
const hasAnyRelationships = table.fields.some(isRelationship);
378+
const hasAnyRelationships = table.fields.some(isRelationship) ?? false;
379379
380380
const tablesSDK = sdk.forProject(
381381
page.params.region,

0 commit comments

Comments
 (0)