mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
N°4184 - Alert UI block is collapsible only if there is a title
This commit is contained in:
@@ -228,6 +228,10 @@ class Alert extends UIContentBlock
|
||||
*/
|
||||
public function IsCollapsible(): bool
|
||||
{
|
||||
if (empty($this->sTitle)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $this->bIsCollapsible;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user