bcgov / business-filings-ui

BC Registry Services - Legal Entities - Business Dashboard and Filings
Apache License 2.0
9 stars 51 forks source link

21439 - Fixed Unknown Name when registration is in draft #661

Closed JazzarKarim closed 3 months ago

JazzarKarim commented 3 months ago

Issue #: /bcgov/entity#21439

Description of changes: When the registration is draft, the code was checking for the name from alternate names but that doesn't exist at that point. When that is the case, we need to use the legal name as before. So, I simply added that check.

Before: before sp

After: after sp

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

JazzarKarim commented 3 months ago

/gcbrun

bcregistry-sre commented 3 months ago

Temporary Url for review: https://business-filings-dev--pr-661-bjm258l3.web.app

Please try: https://business-filings-dev--pr-661-bjm258l3.web.app/TdCmWDm84Y?accountid=3040