Skip to content

In declaration review page, heading is not shown correctly when full name is not given. #9821

@tiri39

Description

@tiri39

Bug description:
When child's only first / last name is given, heading is not shown properly in declaration review page.

Steps to reproduce:

  1. Create a declaration with only first or only last name for child.
  2. Navigate to the review page for that declaration.
  3. Observe the heading.

Actual result:
When child's only first / last name is given, heading is- 'Birth declaration'.

Expected result:
When child's only first / last name is given, heading should be - 'Birth declaration for [child's first name/last name]

Screenshot/ Recording:

here, heading should be - 'Birth declaration for Raisa'
Image

Tested on:
https://register.events-v2-test-environment.opencrvs.dev/v2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Completed

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions