mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-01-05 18:26:56 +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} />
|
||||
{/if}
|
||||
<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="flex items-center">
|
||||
<p class="ml-4 mr-4">At Pity:</p>
|
||||
<Input type="number" bind:value={pity} />
|
||||
<Input type="number" min="1" bind:value={pity} />
|
||||
</div>
|
||||
{#if isEdit}
|
||||
<div class="flex mt-32">
|
||||
|
|
|
@ -424,7 +424,7 @@
|
|||
<div class="bg-background rounded-xl w-full px-4 mr-2 flex items-center">
|
||||
<span>Click the list to edit or delete</span>
|
||||
</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>
|
||||
{/if}
|
||||
<div class="flex">
|
||||
|
|
Loading…
Reference in a new issue