Skip to content

Commit

Permalink
Merge pull request #1543 from ItzNotABug/update-ids
Browse files Browse the repository at this point in the history
Fix database & collections Inconsistent ids on page change
  • Loading branch information
stnguyen90 authored Dec 10, 2024
2 parents 5662f36 + 7870bad commit 4faf266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
{/each}
</TableHeader>
<TableBody>
{#each data.collections.collections as collection}
{#each data.collections.collections as collection (collection.$id)}
<TableRowLink
href={`${base}/project-${projectId}/databases/database-${databaseId}/collection-${collection.$id}`}>
{#if $canWriteCollections}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{/each}
</TableHeader>
<TableBody>
{#each data.databases.databases as database}
{#each data.databases.databases as database (database.$id)}
<TableRowLink href={`${base}/project-${projectId}/databases/database-${database.$id}`}>
{#each $columns as column}
{#if column.show}
Expand Down

0 comments on commit 4faf266

Please sign in to comment.