fix(webapp): inconsistency in currency of universal search items

This commit is contained in:
Ahmed Bouhuolia
2024-01-29 19:19:46 +02:00
parent d01eacf8d9
commit a52f3a933f
6 changed files with 7 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ const VendorUniversalSearchSelectAction = withDrawerActions(
const vendorToSearch = (contact) => ({
id: contact.id,
text: contact.display_name,
label: contact.balance > 0 ? contact.formatted_balance + '' : '',
label: contact.formatted_balance,
reference: contact,
});