diff --git a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/settings.svelte b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/settings.svelte
index bcc38aa51..4560fb248 100644
--- a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/settings.svelte
+++ b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/settings.svelte
@@ -200,13 +200,14 @@
-
-
- Tip: Add role:all for wildcards access. Check out our documentation
- for more on Permissions
-
-
+
{#if collectionPermissions === 'collection'}
+
+
+ Tip: Add role:all for wildcards access. Check out our
+ documentation for more on Permissions
+
+
+ {:else}
+
+
+ Manage permissions at the Document Level to control access over
+ every document in your collection. Check out our documentation for more
+ on
+ Permissions
+
+
{/if}
diff --git a/src/routes/console/[project]/databases/index.svelte b/src/routes/console/[project]/databases/index.svelte
index ac3e1ebaf..52bd44dcb 100644
--- a/src/routes/console/[project]/databases/index.svelte
+++ b/src/routes/console/[project]/databases/index.svelte
@@ -40,13 +40,7 @@
style={` --grid-item-size:${$databaseList.total > 3 ? '22rem' : '25rem'};`}>
{#each $databaseList.databases as database}
-
- {#await databaseList.total(database.$id)}
- N Collections
- {:then n}
- {n[database.$id] ? n[database.$id] : 'NO'} Collections
- {/await}
-
+ X Collections
{database.name}
diff --git a/src/routes/console/[project]/databases/store.ts b/src/routes/console/[project]/databases/store.ts
index c1bfbabef..4545ac637 100644
--- a/src/routes/console/[project]/databases/store.ts
+++ b/src/routes/console/[project]/databases/store.ts
@@ -14,14 +14,6 @@ function createDatabaseListStore() {
load: async (search: string, limit: number, offset: number) => {
const response = await sdkForProject.databases.list(search, limit, offset);
set(response);
- },
- total: async (id: string) => {
- let total = {};
- total = browser ? JSON.parse(sessionStorage.getItem('databaseTotal')) ?? {} : {};
- const response = await sdkForProject.databases.listCollections(id);
- total[id] = response.total;
- sessionStorage?.setItem('databaseTotal', JSON.stringify(total));
- return total;
}
};
}