File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 268268 @can (' admin' )
269269 <!-- Tasks: style can be found in dropdown.less -->
270270 <?php $alert_items = ($snipeSettings -> show_alerts_in_menu == ' 1' ) ? Helper:: checkLowInventory () : [];
271- $deprecations = Helper:: deprecationCheck () ? >
271+ $deprecations = Helper:: deprecationCheck ()
272+ ? >
272273
273- @if (count ($alert_items ) || count ($deprecations ) )
274274 <li class =" dropdown tasks-menu" >
275275 <a href =" #" class =" dropdown-toggle" data-toggle =" dropdown" >
276276 <x-icon type =" alerts" />
277277 <span class =" sr-only" >{{ trans (' general.alerts' ) } } </span >
278- <span class =" label label-danger" >{{ count ($alert_items ) + count ($deprecations ) } } </span >
278+ @if (count ($alert_items ) + count ($deprecations ) )
279+ <span class =" label label-danger" >{{ count ($alert_items ) + count ($deprecations ) } } </span >
280+ @endif
279281 </a >
280282 <ul class =" dropdown-menu" >
281283 @can (' superadmin' )
322324 </li> --}}
323325 </ul >
324326 </li >
325- @endif
326327 @endcan
327328
328329
You can’t perform that action at this time.
0 commit comments