Send Test Notifications
@@ -13,19 +13,21 @@
@endif
-
+
+ id="model.extra_attributes.discord_webhook_url" label="Webhook" />
- Subscribe to events
-
- @if (isDev())
-
- @endif
-
-
+ @if (data_get($model, 'extra_attributes.discord_enabled'))
+ Subscribe to events
+
+ @if (isDev())
+
+ @endif
+
+
+ @endif
diff --git a/resources/views/livewire/notifications/email-settings.blade.php b/resources/views/livewire/notifications/email-settings.blade.php
index 015db8b00..9f3aa35ac 100644
--- a/resources/views/livewire/notifications/email-settings.blade.php
+++ b/resources/views/livewire/notifications/email-settings.blade.php
@@ -10,7 +10,7 @@
Copy from Instance Settings
@endif
- @if ($model->extra_attributes->smtp_active)
+ @if ($model->extra_attributes->smtp_enabled)
Send Test Notifications
@@ -18,7 +18,7 @@
@endif
-
+
@@ -53,13 +53,15 @@
- Subscribe to events
-
- @if (isDev())
-
- @endif
-
-
+ @if (data_get($model, 'extra_attributes.smtp_enabled'))
+ Subscribe to events
+
+ @if (isDev())
+
+ @endif
+
+
+ @endif
diff --git a/resources/views/livewire/settings/email.blade.php b/resources/views/livewire/settings/email.blade.php
index ec0ba13a6..cefea888f 100644
--- a/resources/views/livewire/settings/email.blade.php
+++ b/resources/views/livewire/settings/email.blade.php
@@ -8,12 +8,12 @@
SMTP settings for password resets, invitations, etc.
-
+
- @if ($settings->extra_attributes->smtp_active)
+ @if ($settings->extra_attributes->smtp_enabled)
Send Test Email