Fix transaction title updating
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
a4925ee783
commit
193faeb800
2 changed files with 3 additions and 2 deletions
3
package-lock.json
generated
3
package-lock.json
generated
|
@ -6699,7 +6699,8 @@
|
|||
"ini": {
|
||||
"version": "1.3.8",
|
||||
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
|
||||
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
|
||||
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
|
||||
"dev": true
|
||||
},
|
||||
"inquirer": {
|
||||
"version": "7.1.0",
|
||||
|
|
|
@ -89,7 +89,7 @@ export class AddEditTransactionComponent implements OnInit, OnChanges {
|
|||
observable = this.twigsService.updateTransaction(
|
||||
this.currentTransaction.id,
|
||||
{
|
||||
name: this.currentTransaction.title,
|
||||
title: this.currentTransaction.title,
|
||||
description: this.currentTransaction.description,
|
||||
amount: this.currentTransaction.amount * 100,
|
||||
date: this.currentTransaction.date,
|
||||
|
|
Loading…
Reference in a new issue