diff --git a/emails/src/partials/project-team.html b/emails/src/partials/project-team.html
index 5c3671d..e8802ae 100644
--- a/emails/src/partials/project-team.html
+++ b/emails/src/partials/project-team.html
@@ -58,11 +58,7 @@
{{userFullName}} joined the project
{{/if}}
{{#if [connect.notification.project.member.invite.created]}}
- {{#if [isSSO]}}
- Hi {{userFullName}}, you are invited to join the project {{projectName}}. Please use the link below to sign in and join the project.
- {{else}}
- Hi {{userFullName}}, you are invited to join the project {{projectName}}. Please click on the button ("View project on Connect") below to join.
- {{/if}}
+ Hi {{userFullName}}, you are invited to join the project {{projectName}}. Please click on the button ("Join Project") below to join.
{{/if}}
{{#if [connect.notification.project.member.invite.requested]}}
You are requested to add {{userFullName}} as a copilot
diff --git a/src/services/NotificationService.js b/src/services/NotificationService.js
index cb92781..daea260 100644
--- a/src/services/NotificationService.js
+++ b/src/services/NotificationService.js
@@ -205,8 +205,8 @@ function* listNotifications(query, userId) {
if (_.keys(notificationSettings).length > 0) {
// only filter out notifications types which were explicitly set to 'no' - so we return notification by default
const notifications = _.keys(notificationSettings).filter((notificationType) =>
- !notificationSettings[notificationType] &&
- !notificationSettings[notificationType].web &&
+ notificationSettings[notificationType] &&
+ notificationSettings[notificationType].web &&
notificationSettings[notificationType].web.enabled === 'no'
);
filter.where.type = Object.assign(filter.where.type || {}, { $notIn: notifications });