Skip to content

Commit

Permalink
Merge pull request #28454 from colemanw/searchKitMenuHide
Browse files Browse the repository at this point in the history
SearchKit - Hide empty menus
  • Loading branch information
artfulrobot authored Dec 3, 2023
2 parents a21bd7b + 849766b commit 6c64f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/search_kit/ang/crmSearchDisplay/colType/menu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="btn-group" role="group">
<div class="btn-group" role="group" ng-if="colData.links.length">
<button type="button" class="dropdown-toggle btn {{:: $ctrl.settings.columns[colIndex].size }} btn-{{:: $ctrl.settings.columns[colIndex].style }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" ng-click="colData.open = true">
<i ng-if=":: $ctrl.settings.columns[colIndex].icon" class="crm-i {{:: $ctrl.settings.columns[colIndex].icon }}"></i>
{{:: colData.text }}
Expand Down

0 comments on commit 6c64f23

Please sign in to comment.