Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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