Skip to content
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

Merged

Conversation

manojava-gk
Copy link
Contributor

@manojava-gk manojava-gk commented Jul 18, 2024

Description

update company data input patterns

Why

should be in sync with registration repo

Issue

#894

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed IP checks for added or updated 3rd party libraries
  • I have created and linked IP issues or requested their creation by a committer
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas

@manojava-gk manojava-gk reopened this Jul 18, 2024
@manojava-gk manojava-gk changed the base branch from release/v2.1.0-RC3 to release/v2.1.0-RC2 July 18, 2024 11:13
@manojava-gk manojava-gk changed the base branch from release/v2.1.0-RC2 to release/v2.1.0-RC3 July 18, 2024 11:20
@manojava-gk manojava-gk force-pushed the fix/issues-894-patterns branch from 788423e to 12be7b3 Compare July 18, 2024 11:27
@manojava-gk manojava-gk marked this pull request as ready for review July 18, 2024 11:29
@manojava-gk manojava-gk requested a review from jjeroch July 18, 2024 11:29
Copy link
Contributor

@oyo oyo left a 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')
Copy link
Contributor

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 ` )

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@manojava-gk manojava-gk requested a review from oyo July 22, 2024 09:13
Copy link

sonarqubecloud bot commented Jul 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@oyo oyo merged commit 4b60854 into eclipse-tractusx:release/v2.1.0-RC3 Jul 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants