mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
fix can not replace empty transaction categories when using batch rules
This commit is contained in:
@@ -1714,7 +1714,7 @@ function showReplaceAllTypesDialog(): void {
|
|||||||
let updated = false;
|
let updated = false;
|
||||||
|
|
||||||
for (const rule of result.rules) {
|
for (const rule of result.rules) {
|
||||||
if (!rule || !rule.dataType || !rule.sourceValue || !rule.targetId) {
|
if (!rule || !rule.dataType || !rule.targetId) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user