mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
refactor: pr review
This commit is contained in:
1 parent
70755a64ee
commit
48c3fef7c9
3 files changed
+12
-10
No files matched your search
@@ -5,12 +5,14 @@
|
||||
</script>
|
||||
|
||||
<Heading size="4" tag="h1" trimmed={false}>
|
||||
{#if href}
|
||||
<a class="button is-text is-only-icon" {href} aria-label="page back">
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
</a>
|
||||
{/if}
|
||||
<span class="text u-trim-1">
|
||||
<slot />
|
||||
</span>
|
||||
<div class="u-flex u-cross-center">
|
||||
{#if href}
|
||||
<a class="button is-text is-only-icon" {href} aria-label="page back">
|
||||
<span class="icon-cheveron-left" aria-hidden="true" />
|
||||
</a>
|
||||
{/if}
|
||||
<span class="text u-trim-1">
|
||||
<slot />
|
||||
</span>
|
||||
</div>
|
||||
</Heading>
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { goto, invalidate } from '$app/navigation';
|
||||
import type { Models } from '@aw-labs/appwrite-console';
|
||||
import Create from './create.svelte';
|
||||
import CreateCollection from './createCollection.svelte';
|
||||
import { showCreate } from './store';
|
||||
import { base } from '$app/paths';
|
||||
import { page } from '$app/stores';
|
||||
@@ -25,4 +25,4 @@
|
||||
|
||||
<slot />
|
||||
|
||||
<Create bind:showCreate={$showCreate} on:created={handleCreate} />
|
||||
<CreateCollection bind:showCreate={$showCreate} on:created={handleCreate} />
|
||||
Reference in new issue
Block a user