angular.module("c8y.ui").directive("uibDropdown",function(){return{restrict:"A",link:function(n,i){var o=i.find("[uib-dropdown-menu]"),t=i.find("[uib-dropdown-toggle]");n.$watch(function(){return 0<o.children().not(".ng-hide").length},function(n){t.toggleClass("ng-hide",!n)})}}});