X Tutup
Skip to content

fix(router): incorrect type coercion of value 1 in RouteParam #5346

@wardbell

Description

@wardbell

When query parameter value is the number 1, e.g., [ROUTE_NAMES.crisisCenter, {id: 1}] the resulting URL is http://127.0.0.1:8080/src/#/crisis-center/;id and routeParams.get('id') returnstrue instead of 1.

Cause appears to be coercion of 1 to true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup