Skip to content

Commit

Permalink
Fix bug for #10
Browse files Browse the repository at this point in the history
  • Loading branch information
bellingard committed May 1, 2020
1 parent c1ed1a2 commit 08890c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class Transactions {
const list: Transaction[] = this.list()
for (let index = 0; index < list.length; index++) {
const t = list[index]
if (t.date === date && t.amount === amount) {
if (t.stagedDesc === undefined && t.date === date && t.amount === amount) {
return true
}
}
Expand Down

0 comments on commit 08890c6

Please sign in to comment.