diff --git a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.html b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.html index 825f2793ce..ce48b1e66a 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.html @@ -59,39 +59,35 @@
- -
- - admin.slack-api-token - - -
+ + + admin.slack-api-token + + - + admin.mobile-settings - -
- - -
-
- -
+ + + + + + diff --git a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.scss b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.scss index 5020e02bdd..088ce92552 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.scss +++ b/ui-ngx/src/app/modules/home/pages/admin/sms-provider.component.scss @@ -14,5 +14,11 @@ * limitations under the License. */ :host { + .mat-mdc-card-header { + align-items: center; + } + .mdc-card__actions { + padding: 16px; + } } diff --git a/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.componet.ts b/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.componet.ts index 7c1429f8db..10a0b96540 100644 --- a/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.componet.ts +++ b/ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.componet.ts @@ -305,8 +305,7 @@ export class SentNotificationDialogComponent extends allowConfigureDeliveryMethod(deliveryMethod: NotificationDeliveryMethod): boolean { const tenantAllowConfigureDeliveryMethod = new Set([ - NotificationDeliveryMethod.SLACK, - NotificationDeliveryMethod.MOBILE_APP + NotificationDeliveryMethod.SLACK ]); if (deliveryMethod === NotificationDeliveryMethod.WEB) { return false; @@ -329,7 +328,6 @@ export class SentNotificationDialogComponent extends return '/settings/outgoing-mail'; case NotificationDeliveryMethod.SMS: case NotificationDeliveryMethod.SLACK: - case NotificationDeliveryMethod.MOBILE_APP: return '/settings/notifications'; } } diff --git a/ui-ngx/src/app/shared/models/notification.models.ts b/ui-ngx/src/app/shared/models/notification.models.ts index 1bc1490695..4d352d352d 100644 --- a/ui-ngx/src/app/shared/models/notification.models.ts +++ b/ui-ngx/src/app/shared/models/notification.models.ts @@ -379,8 +379,8 @@ export enum NotificationDeliveryMethod { SMS = 'SMS', EMAIL = 'EMAIL', SLACK = 'SLACK', - MICROSOFT_TEAMS = 'MICROSOFT_TEAMS', - MOBILE_APP = 'MOBILE_APP' + MOBILE_APP = 'MOBILE_APP', + MICROSOFT_TEAMS = 'MICROSOFT_TEAMS' } export const NotificationDeliveryMethodTranslateMap = new Map([ @@ -388,8 +388,8 @@ export const NotificationDeliveryMethodTranslateMap = new Map