From 4ef161214d50a60811dc0cc57636c477b1dd5cfc Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 1 Apr 2025 12:01:35 -0700 Subject: [PATCH] notification icon only appears when there are notifications --- resources/views/layouts/default.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 721b636a9a..c021d74031 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -270,13 +270,12 @@ dir="{{ Helper::determineLanguageDirection() }}"> show_alerts_in_menu=='1') ? Helper::checkLowInventory() : []; $deprecations = Helper::deprecationCheck()?> + @if (count($alert_items) || count($deprecations)) + @endif @endcan