mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: add empty card for odd number of buckets
This commit is contained in:
1 parent
249fa5bf44
commit
ea41a275cd
1 file changed
+16
@@ -76,6 +76,22 @@
|
||||
</svelte:fragment>
|
||||
</Bucket>
|
||||
{/each}
|
||||
{#if $bucketList.total % 2 !== 0}
|
||||
<article class="card is-border-dashed">
|
||||
<div class="bucket">
|
||||
<div class="u-flex u-flex-vertical u-cross-center">
|
||||
<div class="common-section">
|
||||
<Button secondary round on:click={() => (showCreate = true)}>
|
||||
<i class="icon-plus" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="common-section">
|
||||
<p>Add a New Bucket</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="u-flex u-margin-block-start-32 u-main-space-between">
|
||||
|
||||
Reference in new issue
Block a user