Fix transaction deletion not removing transactions from list

This commit is contained in:
William Brawner 2022-06-15 20:26:54 -06:00
parent 70c33c5ab0
commit b6bf988209

View file

@ -460,6 +460,7 @@ class DataStore : ObservableObject {
do {
try await self.apiService.deleteTransaction(transaction.id)
self.transaction = .empty
await getTransactions()
} catch {
self.transaction = .error(error, transaction)
}