From d25cf35f09ed16df80f9f1bc4e70dfa62c541bf8 Mon Sep 17 00:00:00 2001 From: rintisch Date: Sun, 6 Jul 2025 15:18:34 +0200 Subject: [PATCH] [BUGFIX] Adapt widget configuration to interface The change https://review.typo3.org/c/Packages/TYPO3.CMS/+/89562 removed the property `additionalCssClasses` from the `WidgetConfiguration` which results in an error when setting this as argument in the configuration. This argument was according to the commit message never used which means removing it does not result in any changes. Resolves: #673 --- Configuration/Backend/Widgets/OrdersPerDayWidget.php | 1 - Configuration/Backend/Widgets/TurnoverPerDayWidget.php | 1 - 2 files changed, 2 deletions(-) diff --git a/Configuration/Backend/Widgets/OrdersPerDayWidget.php b/Configuration/Backend/Widgets/OrdersPerDayWidget.php index f42e5df9..da2c39b1 100644 --- a/Configuration/Backend/Widgets/OrdersPerDayWidget.php +++ b/Configuration/Backend/Widgets/OrdersPerDayWidget.php @@ -22,7 +22,6 @@ 'title' => 'LLL:EXT:cart/Resources/Private/Language/locallang_be.xlf:dashboard.widgets.orders_per_day.title', 'description' => 'LLL:EXT:cart/Resources/Private/Language/locallang_be.xlf:dashboard.widgets.orders_per_day.description', 'iconIdentifier' => 'content-widget-chart-bar', - 'additionalCssClasses' => 'dashboard-item--chart', 'height' => 'medium', 'width' => 'medium', ]); diff --git a/Configuration/Backend/Widgets/TurnoverPerDayWidget.php b/Configuration/Backend/Widgets/TurnoverPerDayWidget.php index 7419c1f0..e5114482 100644 --- a/Configuration/Backend/Widgets/TurnoverPerDayWidget.php +++ b/Configuration/Backend/Widgets/TurnoverPerDayWidget.php @@ -22,7 +22,6 @@ 'title' => 'LLL:EXT:cart/Resources/Private/Language/locallang_be.xlf:dashboard.widgets.turnover_per_day.title', 'description' => 'LLL:EXT:cart/Resources/Private/Language/locallang_be.xlf:dashboard.widgets.turnover_per_day.description', 'iconIdentifier' => 'content-widget-chart-bar', - 'additionalCssClasses' => 'dashboard-item--chart', 'height' => 'medium', 'width' => 'medium', ]);