Fix transaction deletion not removing transactions from list
This commit is contained in:
parent
70c33c5ab0
commit
b6bf988209
1 changed files with 1 additions and 0 deletions
|
@ -460,6 +460,7 @@ class DataStore : ObservableObject {
|
||||||
do {
|
do {
|
||||||
try await self.apiService.deleteTransaction(transaction.id)
|
try await self.apiService.deleteTransaction(transaction.id)
|
||||||
self.transaction = .empty
|
self.transaction = .empty
|
||||||
|
await getTransactions()
|
||||||
} catch {
|
} catch {
|
||||||
self.transaction = .error(error, transaction)
|
self.transaction = .error(error, transaction)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue