feat: localization universal search.

This commit is contained in:
a.bouhuolia
2021-08-21 19:14:24 +02:00
parent 42c0d6be95
commit 71e4a208d7
11 changed files with 24 additions and 12 deletions

View File

@@ -114,7 +114,7 @@ export function InvoiceUniversalSearchItem(
*/
export const universalSearchInvoiceBind = () => ({
resourceType: RESOURCES_TYPES.INVOICE,
optionItemLabel: 'Invoices',
optionItemLabel: intl.get('invoices'),
selectItemAction: InvoiceUniversalSearchSelect,
itemRenderer: InvoiceUniversalSearchItem,
itemSelect: transformInvoicesToSearch,