diff --git a/src/Ombi.Store/Context/OmbiContext.cs b/src/Ombi.Store/Context/OmbiContext.cs index a8beecc68..6e307b47b 100644 --- a/src/Ombi.Store/Context/OmbiContext.cs +++ b/src/Ombi.Store/Context/OmbiContext.cs @@ -159,14 +159,17 @@ namespace Ombi.Store.Context }; break; case NotificationType.WelcomeEmail: - notificationToAdd = new NotificationTemplates + if (agent == NotificationAgent.Email) { - NotificationType = notificationType, - Message = "Hello! You have been invited to use {ApplicationName}! You can login here: {ApplicationUrl}", - Subject = "Invite to {ApplicationName}", - Agent = agent, - Enabled = true, - }; + notificationToAdd = new NotificationTemplates + { + NotificationType = notificationType, + Message = "Hello! You have been invited to use {ApplicationName}! You can login here: {ApplicationUrl}", + Subject = "Invite to {ApplicationName}", + Agent = agent, + Enabled = true, + }; + } break; case NotificationType.IssueResolved: notificationToAdd = new NotificationTemplates diff --git a/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-information-panel.component.html b/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-information-panel.component.html index 304d35be5..99fdd5685 100644 --- a/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-information-panel.component.html +++ b/src/Ombi/ClientApp/src/app/media-details/components/movie/panels/movie-information-panel.component.html @@ -18,6 +18,10 @@