fix(receipt-import): replace invalid isNotEmpty string check
This commit is contained in:
@@ -257,7 +257,7 @@ export class ReceiptImportService {
|
||||
item.matchedProductName,
|
||||
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(' ');
|
||||
|
||||
const byRule = this.ruleBasedCategorySuggestion(signalText || item.rawName, categories);
|
||||
|
||||
Reference in New Issue
Block a user