fix: back btn route, render condition

This commit is contained in:
Arman committed 2022-09-09 10:59:33 +02:00
1 parent 45abf6d214
commit 931d24a01d
2 files changed
+2 -2

No files matched your search

@@ -55,6 +55,6 @@
<title>Appwrite - Database</title>
</svelte:head>
{#if $database}
{#if $database && $database.$id === databaseId}
<slot />
{/if}
@@ -24,7 +24,7 @@
updateLayout({
navigate: event,
title: $collection.name,
back: `${base}/console/project-${$page.params.project}/database`,
back: `${base}/console/project-${$page.params.project}/databases/database/${databaseId}`,
copy: {
text: 'Collection ID',
value: collectionId