@forter/chart
Advanced tools
Comparing version 5.24.1 to 5.24.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [5.24.2](https://github.com/forter/web-components/compare/@forter/chart@5.24.1...@forter/chart@5.24.2) (2022-09-08) | ||
### Bug Fixes | ||
* **chart:** chart type should be upper case ([#1078](https://github.com/forter/web-components/issues/1078)) ([7533661](https://github.com/forter/web-components/commit/7533661)) | ||
## [5.24.1](https://github.com/forter/web-components/compare/@forter/chart@5.24.0...@forter/chart@5.24.1) (2022-09-06) | ||
@@ -8,0 +19,0 @@ |
@@ -39,3 +39,3 @@ import { merge } from 'lodash-es'; | ||
} = config; | ||
const series = allSeries.filter(series => [CHART_TYPES.DOUGHNUT].includes(series.seriesType)); | ||
const series = allSeries.filter(series => [CHART_TYPES.DOUGHNUT.toUpperCase()].includes(series.seriesType)); | ||
if (!series.length) return chartJSConfig; | ||
@@ -42,0 +42,0 @@ const datasets = extractDatasets(series); |
{ | ||
"name": "@forter/chart", | ||
"version": "5.24.1", | ||
"version": "5.24.2", | ||
"description": "chart from Forter Components", | ||
@@ -60,3 +60,3 @@ "author": "Forter Developers", | ||
}, | ||
"gitHead": "38c154f15cc8d8db99381604be6e8dd342823cbf" | ||
"gitHead": "4fd0829dd15ecca8084682ad8a957e9e1fc7ea5d" | ||
} |
@@ -40,3 +40,4 @@ import { merge } from 'lodash-es'; | ||
const series = allSeries.filter(series => [CHART_TYPES.DOUGHNUT].includes(series.seriesType)); | ||
const series = allSeries.filter(series => [CHART_TYPES.DOUGHNUT.toUpperCase()] | ||
.includes(series.seriesType)); | ||
if (!series.length) return chartJSConfig; | ||
@@ -43,0 +44,0 @@ const datasets = extractDatasets(series); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
256568
4225