Skip to content

Cannot read property 'slice' of null - when blank color passed #46

@JeremyBradshaw7

Description

@JeremyBradshaw7

It's throwing this exception with some data:
image

I've tracked it down to sending a blank color '' in one of the bands which I can fix my end, but it would be better if the component is resilient enough to recover from such bad data, eg by defaulting bad colours to white or transparent rather than crashing the app.

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