fix: back btn route, render condition

This commit is contained in:
Arman
2022-09-09 10:59:33 +02:00
parent 45abf6d214
commit 931d24a01d
2 changed files with 2 additions and 2 deletions
@@ -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