fix(loyalty): use correct no-results text in PIN staff autocomplete
PIN create/edit modals were showing "Customer not found" (terminal message) when no staff members matched. Now shows "No staff members found" with a proper locale key. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -146,8 +146,8 @@
|
||||
secondary_field='email',
|
||||
placeholder=_('loyalty.shared.pins.pin_name'),
|
||||
min_chars=1,
|
||||
no_results_text=_('loyalty.store.terminal.customer_not_found'),
|
||||
loading_text=_('loyalty.store.terminal.looking_up')
|
||||
no_results_text=_('loyalty.shared.pins.no_staff_found'),
|
||||
loading_text=_('loyalty.common.loading')
|
||||
) }}
|
||||
</div>
|
||||
<div>
|
||||
@@ -208,8 +208,8 @@
|
||||
secondary_field='email',
|
||||
placeholder=_('loyalty.shared.pins.pin_name'),
|
||||
min_chars=1,
|
||||
no_results_text=_('loyalty.store.terminal.customer_not_found'),
|
||||
loading_text=_('loyalty.store.terminal.looking_up')
|
||||
no_results_text=_('loyalty.shared.pins.no_staff_found'),
|
||||
loading_text=_('loyalty.common.loading')
|
||||
) }}
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user