N°9167 Use ExtensionDetails UIBlocks instead of table

This commit is contained in:
Timmy38
2026-05-20 17:25:12 +02:00
parent 9bc2cd0a38
commit cdf7d62b13
4 changed files with 105 additions and 81 deletions

View File

@@ -33,7 +33,7 @@ class ExtensionDetails extends UIContentBlock
$this->sCode = $sCode;
$this->sLabel = $sLabel;
$this->sDescription = $sDescription;
$this->aMetaData = $aMetaData;
$this->aMetaData = array_filter($aMetaData);
$this->aBadges = $aBadges;
$this->sAbout = $sAbout;
$this->InitializeToggler();
@@ -105,7 +105,7 @@ class ExtensionDetails extends UIContentBlock
*/
public function SetMetaData(array $aMetaData): static
{
$this->aMetaData = $aMetaData;
$this->aMetaData = array_filter($aMetaData);
return $this;
}