-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(company data): update company data input patterns #946
fix(company data): update company data input patterns #946
Conversation
788423e
to
12be7b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reduce redundancy a little bit
label={ | ||
isAddress | ||
? t('content.companyData.address.form.site.name') | ||
: t('content.companyData.site.form.site.name') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to write all those more compact as
label={t('content.companyData.${isAddress ? 'address' : 'site'}.form.site.name')}
(replace outer ' with ` )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Quality Gate passedIssues Measures |
Description
update company data input patterns
Why
should be in sync with registration repo
Issue
#894
Checklist
Please delete options that are not relevant.