removed hiding the notifications icon
This commit is contained in:
@@ -268,14 +268,16 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||
@can('admin')
|
||||
<!-- Tasks: style can be found in dropdown.less -->
|
||||
<?php $alert_items = ($snipeSettings->show_alerts_in_menu=='1') ? Helper::checkLowInventory() : [];
|
||||
$deprecations = Helper::deprecationCheck()?>
|
||||
$deprecations = Helper::deprecationCheck()
|
||||
?>
|
||||
|
||||
@if (count($alert_items) || count($deprecations))
|
||||
<li class="dropdown tasks-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<x-icon type="alerts" />
|
||||
<span class="sr-only">{{ trans('general.alerts') }}</span>
|
||||
<span class="label label-danger">{{ count($alert_items) + count($deprecations) }}</span>
|
||||
@if(count($alert_items) + count($deprecations))
|
||||
<span class="label label-danger">{{ count($alert_items) + count($deprecations)}}</span>
|
||||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
@can('superadmin')
|
||||
@@ -322,7 +324,6 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
||||
</li> --}}
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
@endcan
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user