Skip to content

Commit 08890c6

Browse files
committed
Fix bug for #10
1 parent c1ed1a2 commit 08890c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/transactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class Transactions {
136136
const list: Transaction[] = this.list()
137137
for (let index = 0; index < list.length; index++) {
138138
const t = list[index]
139-
if (t.date === date && t.amount === amount) {
139+
if (t.stagedDesc === undefined && t.date === date && t.amount === amount) {
140140
return true
141141
}
142142
}

0 commit comments

Comments
 (0)