mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-21 14:28:59 +01:00
Fix max date and min pity on wish counter add modal
This commit is contained in:
parent
fd3b36ac90
commit
1a7cef7fee
2 changed files with 3 additions and 3 deletions
|
@ -85,11 +85,11 @@
|
||||||
<CharacterSelect bind:selected={name} />
|
<CharacterSelect bind:selected={name} />
|
||||||
{/if}
|
{/if}
|
||||||
<div class="h-4" />
|
<div class="h-4" />
|
||||||
<Input type="datetime-local" step="1" bind:value={time} />
|
<Input type="datetime-local" step="1" max="9999-12-31T23:59:59" bind:value={time} />
|
||||||
<div class="h-4" />
|
<div class="h-4" />
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<p class="ml-4 mr-4">At Pity:</p>
|
<p class="ml-4 mr-4">At Pity:</p>
|
||||||
<Input type="number" bind:value={pity} />
|
<Input type="number" min="1" bind:value={pity} />
|
||||||
</div>
|
</div>
|
||||||
{#if isEdit}
|
{#if isEdit}
|
||||||
<div class="flex mt-32">
|
<div class="flex mt-32">
|
||||||
|
|
|
@ -424,7 +424,7 @@
|
||||||
<div class="bg-background rounded-xl w-full px-4 mr-2 flex items-center">
|
<div class="bg-background rounded-xl w-full px-4 mr-2 flex items-center">
|
||||||
<span>Click the list to edit or delete</span>
|
<span>Click the list to edit or delete</span>
|
||||||
</div>
|
</div>
|
||||||
<Button size="sm" className="w-16" on:click={() => openAddModal(0)}>Add</Button>
|
<Button size="sm" className="w-16" on:click={() => openAddModal(1)}>Add</Button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
|
|
Loading…
Add table
Reference in a new issue