|
|
@ -123,7 +123,7 @@ |
|
|
|
const submission: ItemInput = { |
|
|
|
...item, |
|
|
|
acquiredTime: item.acquiredTime ? new Date(item.acquiredTime).toISOString() : void(0), |
|
|
|
stats: item.stats.filter(s => s.required > 0), |
|
|
|
stats: item.stats.filter(s => s.required > 0).map(s => ({...s})), |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
@ -192,7 +192,9 @@ |
|
|
|
<AcquiredTimeInput openDate={openedDate} bind:value={item.acquiredTime} /> |
|
|
|
<label for="description">Description</label> |
|
|
|
<textarea name="description" bind:value={item.description} /> |
|
|
|
<Checkbox bind:checked={addAnother} label="Add another." /> |
|
|
|
{#if op === "Create"} |
|
|
|
<Checkbox bind:checked={addAnother} label="Add another." /> |
|
|
|
{/if} |
|
|
|
</ModalBody> |
|
|
|
<ModalBody> |
|
|
|
{#if requirementName != null} |
|
|
|