fix(receipt-import): replace invalid isNotEmpty string check

This commit is contained in:
Nils-Johan Gynther
2026-05-02 22:47:07 +02:00
parent 2cf0372eef
commit f45ec08c58
@@ -257,7 +257,7 @@ export class ReceiptImportService {
item.matchedProductName, item.matchedProductName,
item.suggestedProductName, item.suggestedProductName,
] ]
.filter((v): v is string => typeof v === 'string' && v.trim().isNotEmpty) .filter((v): v is string => typeof v === 'string' && v.trim().length > 0)
.join(' '); .join(' ');
const byRule = this.ruleBasedCategorySuggestion(signalText || item.rawName, categories); const byRule = this.ruleBasedCategorySuggestion(signalText || item.rawName, categories);