Skip to content

Commit

Permalink
fix: sub task COJ-209
Browse files Browse the repository at this point in the history
  • Loading branch information
likhith-deriv committed Nov 10, 2023
1 parent bef7322 commit 075ec0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/account/src/Helpers/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const documentAdditionalError = (
let error_message = null;
if (!additional_document_value) {
error_message = localize('Please enter your {{document_name}}. ', {
document_name: document_additional_config?.display_name ?? localize('document number'),
document_name: document_additional_config?.display_name?.toLowerCase() ?? localize('document number'),
});
} else {
const format_regex = getRegex(document_additional_config?.format);
Expand Down

0 comments on commit 075ec0e

Please sign in to comment.