From fdc6d372a4c25287cd08b59100d4b469a9dedd15 Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 7 Sep 2022 11:24:49 +0200 Subject: [PATCH] fix: renamed components --- .../databases/database/[database]/index.svelte | 10 +++++----- .../console/project-[project]/databases/index.svelte | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/routes/console/project-[project]/databases/database/[database]/index.svelte b/src/routes/console/project-[project]/databases/database/[database]/index.svelte index 074d156c7..0b6757d10 100644 --- a/src/routes/console/project-[project]/databases/database/[database]/index.svelte +++ b/src/routes/console/project-[project]/databases/database/[database]/index.svelte @@ -2,7 +2,7 @@ import { page } from '$app/stores'; import { goto } from '$app/navigation'; import { Button } from '$lib/elements/forms'; - import { Empty, EmptyBucket, Pagination, Copy, Bucket } from '$lib/components'; + import { Empty, EmptyGridItem, Pagination, Copy, GridItem1 } from '$lib/components'; import { Pill } from '$lib/elements'; import type { Models } from '@aw-labs/appwrite-console'; import Create from './_create.svelte'; @@ -43,7 +43,7 @@ class="grid-box common-section" style={` --grid-item-size:${$collections.total > 3 ? '22rem' : '25rem'};`}> {#each $collections.collections as collection} - {#await collections.total(collection.$id)} @@ -60,10 +60,10 @@ Collection ID - + {/each} {#if ($collections.total % 2 !== 0 || $collections.total % 4 === 0) && $collections.total - offset <= limit} - (showCreate = true)}> + (showCreate = true)}>
diff --git a/src/routes/console/project-[project]/databases/index.svelte b/src/routes/console/project-[project]/databases/index.svelte index bcb5d2dd4..3db26de70 100644 --- a/src/routes/console/project-[project]/databases/index.svelte +++ b/src/routes/console/project-[project]/databases/index.svelte @@ -2,7 +2,7 @@ import { page } from '$app/stores'; import { goto } from '$app/navigation'; import { Button } from '$lib/elements/forms'; - import { Empty, EmptyBucket, Pagination, Copy, Bucket } from '$lib/components'; + import { Empty, EmptyGridItem, Pagination, Copy, GridItem1 } from '$lib/components'; import { Pill } from '$lib/elements'; import type { Models } from '@aw-labs/appwrite-console'; import Create from './_create.svelte'; @@ -38,17 +38,17 @@ class="grid-box common-section" style={` --grid-item-size:${$databaseList.total > 3 ? '22rem' : '25rem'};`}> {#each $databaseList.databases as database} - + X Collections {database.name} Database ID - + {/each} {#if ($databaseList.total % 2 !== 0 || $databaseList.total % 4 === 0) && $databaseList.total - offset <= limit} - (showCreate = true)}> + (showCreate = true)}>