@@ -240,6 +240,11 @@ class TwigExtension extends AbstractExtension | |||
public function getLogoAdmin(): string | |||
{ | |||
return '<img class="logo-admin" src="assets/img/' . $this->getParameter('app.admin.logo') . '" >'; | |||
$image = $this->getParameter('app.admin.logo_sidebar'); | |||
if(!$image) { | |||
$image = $this->getParameter('app.admin.logo'); | |||
} | |||
return '<img class="logo-admin" src="assets/img/' . $image . '" >'; | |||
} | |||
} |