We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7aaa42 commit e501a34Copy full SHA for e501a34
templates/element/action-groups.php
@@ -15,6 +15,17 @@
15
?>
16
17
<?php foreach ($groups as $key => $group) : ?>
18
+ <?php
19
+ if (count($group) === 1) {
20
+ $subaction = key($group);
21
+ if (is_numeric($subaction)) {
22
+ $subaction = $group[$subaction];
23
+ }
24
+
25
+ echo $this->element('action-button', ['config' => $links[$subaction]]);
26
+ continue;
27
28
+ ?>
29
<div class='btn-group' role="group">
30
<button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
31
<?= $key ?>
0 commit comments