Skip to content

Commit e3a2397

Browse files
committed
removed hiding the notifications icon
1 parent 3b34654 commit e3a2397

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

resources/views/layouts/default.blade.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,14 +268,16 @@
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')
@@ -322,7 +324,6 @@
322324
</li> --}}
323325
</ul>
324326
</li>
325-
@endif
326327
@endcan
327328

328329

0 commit comments

Comments
 (0)