Skip to content
Verified Commit f971aab4 authored by Mark Florian's avatar Mark Florian
Browse files

revert(GlChartSeriesLabel): Add validation for type prop

This reverts
gitlab-org/gitlab-ui!2714, which
caused [failures downstream in GitLab][1].

This also highlights that we have missing test coverage in GitLab UI.

It turns out that GlChartLegend passes the series's type (e.g., "bar")
to GlChartSeriesLabel, while GlChartSeriesLabel expects only "solid" or
"dashed".

It's not immediately clear what the correct fix is, hence this revert.

[1]: gitlab-org/gitlab!83745 (comment 905812358)
parent b4197488
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment