Skip to content

Not possible to set setDisplayName to false #52

@leepowelldev

Description

@leepowelldev

setDisplayName: setDisplayName || true,

Because of the use of the logical or operator here it is not possible to pass false as an option. Passing false incorrectly results in setDisplayName being set to true. Instead I would recommend using the nullish coalescing operator instead (or some similar approach).

Happy to put in a PR if you need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions