fix: [layout:action-bar] Fixed missing support of badge for link entries

3.x-ui-sharinggroups
Sami Mokaddem 2023-08-04 14:30:37 +02:00
parent a8239d2c89
commit 934016c38f
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ use Cake\Utility\Inflector;
} else {
$url = Router::url($linkEntry['url']);
}
$buttonBadge = !empty($linkEntry['badge']) ? $this->Bootstrap->badge($linkEntry['badge']) : '';
$buttonConfig = [
'nodeType' => 'a',
'text' => $linkEntry['label'],