From 47c1be0af3ec6f7cedf7c45906daa9ddaf5d9a44 Mon Sep 17 00:00:00 2001 From: Edoardo Sabadelli Date: Wed, 30 Oct 2024 15:45:33 +0100 Subject: [PATCH] fix: use correct function arguments --- .../config/adapters/dhis_highcharts/subtitle/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js b/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js index 6bf5417a8..0593a5219 100644 --- a/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js +++ b/src/visualizations/config/adapters/dhis_highcharts/subtitle/index.js @@ -39,7 +39,7 @@ function getDefault(layout, dashboard, filterTitle) { return dashboard || isString(layout.title) ? filterTitle : undefined } -export default function subtitle(series, layout, metaData, dashboard) { +export default function subtitle(series, layout, metaData, extraOptions) { if (layout.hideSubtitle) { return null }