N°4078 - Use the icon when the hyperlink is put as 'shortcut'

This commit is contained in:
denis.flaven@combodo.com
2021-09-27 19:06:40 +02:00
parent 86b03b9e92
commit f226916bb8

View File

@@ -2321,6 +2321,12 @@ class MenuBlock extends DisplayBlock
$sIconClass = 'fas fa-share-alt';
$sLabel = '';
break;
default:
$sIconClass = $aAction['icon_class'] ?? '';
if ($sIconClass != '') {
$sLabel = '';
}
}
$sTarget = isset($aAction['target']) ? $aAction['target'] : '';