From 208766455ddd6fd87e8a67ecd2f13d0d861ca78a Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:30:56 +0100 Subject: [PATCH] fix: email notification channel enabled function --- resources/views/livewire/notifications/email.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/notifications/email.blade.php b/resources/views/livewire/notifications/email.blade.php index 4e5d3a647..64530c1d4 100644 --- a/resources/views/livewire/notifications/email.blade.php +++ b/resources/views/livewire/notifications/email.blade.php @@ -14,7 +14,7 @@ Copy from Instance Settings @endif - @if (isEmailEnabled($team) && auth()->user()->isAdminFromSession()) + @if ($team->isNotificationEnabled('email') && auth()->user()->isAdminFromSession())
@@ -93,7 +93,7 @@ @endif - @if (isEmailEnabled($team) || $useInstanceEmailSettings) + @if ($team->isNotificationEnabled('email') || $useInstanceEmailSettings)

Notification Settings

Select events for which you would like to receive email notifications.