N°4184 - Alert UI block is collapsible only if there is a title

This commit is contained in:
acognet
2021-09-07 10:44:04 +02:00
parent f5b557b0bc
commit 2e346a7e80

View File

@@ -228,6 +228,10 @@ class Alert extends UIContentBlock
*/
public function IsCollapsible(): bool
{
if (empty($this->sTitle)) {
return false;
}
return $this->bIsCollapsible;
}