From 7870bad52fb49ea96f9893478f20791ab0b98869 Mon Sep 17 00:00:00 2001 From: Darshan Date: Fri, 29 Nov 2024 11:19:37 +0530 Subject: [PATCH] fix: inconsistent ids on pagination. --- .../databases/database-[database]/table.svelte | 2 +- src/routes/(console)/project-[project]/databases/table.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(console)/project-[project]/databases/database-[database]/table.svelte b/src/routes/(console)/project-[project]/databases/database-[database]/table.svelte index 6b95d6e99..a4df2fa98 100644 --- a/src/routes/(console)/project-[project]/databases/database-[database]/table.svelte +++ b/src/routes/(console)/project-[project]/databases/database-[database]/table.svelte @@ -74,7 +74,7 @@ {/each} - {#each data.collections.collections as collection} + {#each data.collections.collections as collection (collection.$id)} {#if $canWriteCollections} diff --git a/src/routes/(console)/project-[project]/databases/table.svelte b/src/routes/(console)/project-[project]/databases/table.svelte index 523641e95..9c128d33c 100644 --- a/src/routes/(console)/project-[project]/databases/table.svelte +++ b/src/routes/(console)/project-[project]/databases/table.svelte @@ -39,7 +39,7 @@ {/each} - {#each data.databases.databases as database} + {#each data.databases.databases as database (database.$id)} {#each $columns as column} {#if column.show}