Merge pull request #9106 from ArtemDzhereleiko/AD/notification-settings/remove-microsoft

Remove Microsoft teams from Notification settings
This commit is contained in:
Igor Kulikov 2023-08-25 11:57:46 +03:00 committed by GitHub
commit 7164c7fd52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,8 @@ export class NotificationSettingsComponent extends PageComponent implements OnIn
private getNotificationDeliveryMethods(): NotificationDeliveryMethod[] {
const deliveryMethods = new Set([
NotificationDeliveryMethod.SLACK
NotificationDeliveryMethod.SLACK,
NotificationDeliveryMethod.MICROSOFT_TEAMS
]);
return Object.values(NotificationDeliveryMethod).filter(type => !deliveryMethods.has(type));
}