diff --git a/templates/element/layouts/action-bar.php b/templates/element/layouts/action-bar.php index 2379a7cba..4e8ec3cf9 100644 --- a/templates/element/layouts/action-bar.php +++ b/templates/element/layouts/action-bar.php @@ -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'],