Skip to content

Commit

Permalink
Merge pull request #538 from Yoast/bugfix/537-non-existing-css-file
Browse files Browse the repository at this point in the history
[BUGFIX] Removed non-existing / unnecessary CSS file within PageOverviewWidget
  • Loading branch information
RinyVT authored Jul 5, 2023
2 parents 64c318e + e411b81 commit adafed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ We will follow [Semantic Versioning](http://semver.org/).
## UNRELEASED
### Fixed
- Content Security Policy issues in CMS12 by adding extra parameter within BackendYoastConfig and removing unnecessary inline code within FocusKeywordAnalysis.html
- Removed loading of `extended-list-widget.min.css` within `PageOverviewWidget`
- `doctrine/dbal` 2.10 support by adding `DbalService` which checks for the TYPO3 major version, if 10 then use the old `fetch` methods
- Loading state of internal linking suggestions when the bodytext is empty (e.g. new content element)

Expand Down
10 changes: 1 addition & 9 deletions Classes/Widgets/PageOverviewWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
namespace YoastSeoForTypo3\YoastSeo\Widgets;

use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Dashboard\Widgets\AdditionalCssInterface;
use TYPO3\CMS\Dashboard\Widgets\WidgetConfigurationInterface;
use TYPO3\CMS\Dashboard\Widgets\WidgetInterface;
use TYPO3\CMS\Fluid\View\StandaloneView;
use YoastSeoForTypo3\YoastSeo\Widgets\Provider\PageProviderInterface;

class PageOverviewWidget implements WidgetInterface, AdditionalCssInterface
class PageOverviewWidget implements WidgetInterface
{
protected WidgetConfigurationInterface $configuration;
protected PageProviderInterface $dataProvider;
Expand Down Expand Up @@ -41,13 +40,6 @@ public function __construct(
);
}

public function getCssFiles(): array
{
return [
'EXT:yoast_seo/Resources/Public/CSS/extended-list-widget.min.css',
];
}

public function getOptions(): array
{
return [];
Expand Down

0 comments on commit adafed0

Please sign in to comment.