working on update of transactions
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -15,8 +15,12 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
async function setDate(newDate){
|
||||
return await update({date:newDate});
|
||||
async function setDate(date){
|
||||
return await update({date});
|
||||
}
|
||||
|
||||
async function setPurpose(purpose){
|
||||
return await update({purpose});
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -42,7 +46,9 @@
|
||||
→ {transaction.destination.value}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="purpose">{transaction.purpose}</td>
|
||||
<td class="purpose">
|
||||
<LineEditor wrapper="span" editable="true" value={transaction.purpose} onSet={setPurpose} />
|
||||
</td>
|
||||
<td class="tags">
|
||||
{transaction.tags.join(', ')}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user