Browse Source
Merge pull request #9106 from ArtemDzhereleiko/AD/notification-settings/remove-microsoft
Remove Microsoft teams from Notification settings
pull/8767/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
ui-ngx/src/app/modules/home/pages/notification/settings/notification-settings.component.ts
|
|
|
@ -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)); |
|
|
|
} |
|
|
|
|