Object details: Fix tabs left padding when class has no medallion icon

This commit is contained in:
Molkobain
2021-04-01 23:37:45 +02:00
parent 8b894bf96b
commit 5f8eb26bff
2 changed files with 2 additions and 2 deletions

View File

@@ -348,7 +348,7 @@ class Panel extends UIContentBlock
*/
public function IsIconAsMedallion(): bool
{
return $this->bIconAsMedallion;
return $this->HasIcon() && $this->bIconAsMedallion;
}
/**