removed hiding the notifications icon

This commit is contained in:
Godfrey M
2025-05-05 10:28:08 -07:00
parent 3b34654dd7
commit e3a2397b74

View File

@@ -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