|
|
@ -86,7 +86,7 @@ |
|
|
|
clearEndTime: endTime == "", |
|
|
|
active: !completed, |
|
|
|
|
|
|
|
name, description, itemAmount, |
|
|
|
itemId, name, description, itemAmount, |
|
|
|
}).then(() => { |
|
|
|
markStale("goal", "project", "task"); |
|
|
|
modalStore.close(); |
|
|
@ -108,7 +108,7 @@ |
|
|
|
<label for="description">Description</label> |
|
|
|
<textarea disabled={deletion} name="description" bind:value={description} /> |
|
|
|
<label for="itemId">Item</label> |
|
|
|
<ItemSelect disabled={!creation} name="itemId" bind:value={itemId} /> |
|
|
|
<ItemSelect disabled={deletion} name="itemId" bind:value={itemId} /> |
|
|
|
<label for="itemAmount">Amount</label> |
|
|
|
<input disabled={deletion} name="itemAmount" type="number" bind:value={itemAmount} /> |
|
|
|
<label for="endTime">Deadline (Optional)</label> |
|
|
|