Add tab
This commit is contained in:
parent
e844b67e45
commit
f9408d5d53
1 changed files with 10 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
<Tab class="text-dark-token" bind:group={tabPos} name="tab1" value={0}>Display</Tab>
|
<Tab class="text-dark-token" bind:group={tabPos} name="tab1" value={0}>Display</Tab>
|
||||||
<Tab class="text-dark-token" bind:group={tabPos} name="tab2" value={1}>API</Tab>
|
<Tab class="text-dark-token" bind:group={tabPos} name="tab2" value={1}>API</Tab>
|
||||||
<Tab class="text-dark-token" bind:group={tabPos} name="tab3" value={2}>User</Tab>
|
<Tab class="text-dark-token" bind:group={tabPos} name="tab3" value={2}>User</Tab>
|
||||||
|
<Tab class="text-dark-token" bind:group={tabPos} name="tab4" value={3}>Chats</Tab>
|
||||||
|
|
||||||
<svelte:fragment slot="panel">
|
<svelte:fragment slot="panel">
|
||||||
{#if tabPos === 0}
|
{#if tabPos === 0}
|
||||||
|
@ -73,6 +74,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{#if tabPos === 3}
|
||||||
|
<div class="flex flex-col gap-3">
|
||||||
|
<div class="">
|
||||||
|
<p class="text-dark-token font-bold">Chats</p>
|
||||||
|
<InputChip name="blacklist" label="Blacklist" bind:value={$blacklist} />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
</TabGroup>
|
</TabGroup>
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue