diff --git a/ui-ngx/src/app/modules/home/components/notification/slack-conversation-autocomplete.component.html b/ui-ngx/src/app/modules/home/components/notification/slack-conversation-autocomplete.component.html index 1874adf565..ffc780428d 100644 --- a/ui-ngx/src/app/modules/home/components/notification/slack-conversation-autocomplete.component.html +++ b/ui-ngx/src/app/modules/home/components/notification/slack-conversation-autocomplete.component.html @@ -24,8 +24,7 @@ [required]="required" [matAutocomplete]="slackAutocomplete"> diff --git a/ui-ngx/src/app/modules/home/pages/notification-center/notification-center.component.scss b/ui-ngx/src/app/modules/home/pages/notification-center/notification-center.component.scss index 28ec735e12..b8971abfa4 100644 --- a/ui-ngx/src/app/modules/home/pages/notification-center/notification-center.component.scss +++ b/ui-ngx/src/app/modules/home/pages/notification-center/notification-center.component.scss @@ -58,10 +58,10 @@ .mat-mdc-tab { &.mat-mdc-tab-disabled { opacity: 1; - //width: 100%; + flex: 1; - .mat-tab-label-content { - width: 100%; + .mdc-tab__content, .mdc-tab__text-label { + flex: 1; } } } diff --git a/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/inbox-table-config.ts b/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/inbox-table-config.ts index c1382b3827..f3041d0a54 100644 --- a/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/inbox-table-config.ts +++ b/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/inbox-table-config.ts @@ -70,7 +70,7 @@ export class InboxTableConfig extends EntityTableConfig { new EntityTableColumn('type', 'notification.type', '10%', (notification) => this.translate.instant(NotificationTemplateTypeTranslateMap.get(notification.type).name)), new EntityTableColumn('subject', 'notification.subject', '30%'), - new EntityTableColumn('text', 'notification.text', '60%') + new EntityTableColumn('text', 'notification.message', '60%') ); } diff --git a/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/targets-table-config.ts b/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/targets-table-config.ts index 8b2d9da907..d9a6271b80 100644 --- a/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/targets-table-config.ts +++ b/ui-ngx/src/app/modules/home/pages/notification-center/notification-table/targets-table-config.ts @@ -69,10 +69,10 @@ export class TargetsTableConfig extends EntityTableConfig { this.columns.push( new EntityTableColumn('name', 'notification.notification-target', '20%'), - new EntityTableColumn('configuration.type', 'notification.type', '40%', + new EntityTableColumn('configuration.type', 'notification.type', '20%', (target) => this.translate.instant(NotificationTargetTypeTranslationMap.get(target.configuration.type)), () => ({}), false), - new EntityTableColumn('configuration.description', 'notification.description', '40%', + new EntityTableColumn('configuration.description', 'notification.description', '60%', (target) => target.configuration.description || '', () => ({}), false) ); diff --git a/ui-ngx/src/app/modules/home/pages/notification-center/rule-table/escalation-form.component.html b/ui-ngx/src/app/modules/home/pages/notification-center/rule-table/escalation-form.component.html index 6779e17f6d..43409aa9cc 100644 --- a/ui-ngx/src/app/modules/home/pages/notification-center/rule-table/escalation-form.component.html +++ b/ui-ngx/src/app/modules/home/pages/notification-center/rule-table/escalation-form.component.html @@ -36,7 +36,7 @@ formControlName="targets" subscriptSizing="dynamic" [entityType]="entityType.NOTIFICATION_TARGET" - placeholderText="{{ 'notification.add-target' | translate }}"> + [placeholderText]="escalationFormGroup.get('targets').value ? '' : ('notification.add-target' | translate)">