Refactor code and update UI components

This commit is contained in:
Andras Bacsai committed 2024-03-22 11:34:15 +01:00
1 parent ca9a2cb13a
commit 8b7e1e4169
51 files changed
+592 -609

No files matched your search

-3
View File
@@ -177,9 +177,6 @@ class Team extends Model implements SendsDiscord, SendsEmail
if (isCloud()) {
return true;
}
if (!data_get(auth()->user(), 'is_notification_notifications_enabled')) {
return true;
}
if ($this->smtp_enabled || $this->resend_enabled || $this->discord_enabled || $this->telegram_enabled || $this->use_instance_email_settings) {
return true;
}