diff --git a/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js b/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js index 9d2dc1bc7..6d7dfeae4 100644 --- a/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js +++ b/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js @@ -36,7 +36,7 @@ function getDefault(layout, dashboard, filterTitle) { } } -export default function (series, layout, metaData, dashboard) { +export default function subtitle(series, layout, metaData, dashboard) { const fontStyle = mergeFontStyleWithDefault( layout.fontStyle && layout.fontStyle[FONT_STYLE_VISUALIZATION_SUBTITLE], FONT_STYLE_VISUALIZATION_SUBTITLE diff --git a/src/visualizations/config/adapters/dhis_highcharts/title/yearOverYear.js b/src/visualizations/config/adapters/dhis_highcharts/title/yearOverYear.js index d37f5d6be..d9955cfaa 100644 --- a/src/visualizations/config/adapters/dhis_highcharts/title/yearOverYear.js +++ b/src/visualizations/config/adapters/dhis_highcharts/title/yearOverYear.js @@ -1,6 +1,6 @@ import getFilterText from '../../../../util/getFilterText.js' -export default function (layout, metaData, dashboard) { +export default function yearOverYear(layout, metaData, dashboard) { const titleFragments = [] if (layout.columns && layout.columns.length && !dashboard) {