fix: email notification channel enabled function
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
Copy from Instance Settings
|
Copy from Instance Settings
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
@endif
|
@endif
|
||||||
@if (isEmailEnabled($team) && auth()->user()->isAdminFromSession())
|
@if ($team->isNotificationEnabled('email') && auth()->user()->isAdminFromSession())
|
||||||
<x-modal-input buttonTitle="Send Test Email" title="Send Test Email">
|
<x-modal-input buttonTitle="Send Test Email" title="Send Test Email">
|
||||||
<form wire:submit.prevent="sendTestEmail" class="flex flex-col w-full gap-2">
|
<form wire:submit.prevent="sendTestEmail" class="flex flex-col w-full gap-2">
|
||||||
<x-forms.input wire:model="testEmailAddress" placeholder="test@example.com" id="testEmailAddress" label="Recipients" required />
|
<x-forms.input wire:model="testEmailAddress" placeholder="test@example.com" id="testEmailAddress" label="Recipients" required />
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@if (isEmailEnabled($team) || $useInstanceEmailSettings)
|
@if ($team->isNotificationEnabled('email') || $useInstanceEmailSettings)
|
||||||
<h2 class="mt-8 mb-4">Notification Settings</h2>
|
<h2 class="mt-8 mb-4">Notification Settings</h2>
|
||||||
<p class="mb-4">
|
<p class="mb-4">
|
||||||
Select events for which you would like to receive email notifications.
|
Select events for which you would like to receive email notifications.
|
||||||
|
Reference in New Issue
Block a user