Browse Source

UI: Fix translation, console error and add height for menu visability

pull/6643/head
fe-dev 4 years ago
parent
commit
6f21de1d4d
  1. 2
      ui-ngx/src/app/core/services/menu.service.ts
  2. 2
      ui-ngx/src/app/modules/home/components/profile/tenant-profile-data.component.ts
  3. 2
      ui-ngx/src/app/modules/home/components/queue/queue-form.component.html
  4. 2
      ui-ngx/src/app/shared/models/queue.models.ts

2
ui-ngx/src/app/core/services/menu.service.ts

@ -108,7 +108,7 @@ export class MenuService {
name: 'admin.system-settings',
type: 'toggle',
path: '/settings',
height: '280px',
height: '320px',
icon: 'settings',
pages: [
{

2
ui-ngx/src/app/modules/home/components/profile/tenant-profile-data.component.ts

@ -95,7 +95,7 @@ export class TenantProfileDataComponent implements ControlValueAccessor, OnInit,
if (this.tenantProfileDataFormGroup.valid) {
tenantProfileData = this.tenantProfileDataFormGroup.getRawValue();
}
this.propagateChange(tenantProfileData.configuration);
this.propagateChange(tenantProfileData?.configuration);
}
}

2
ui-ngx/src/app/modules/home/components/queue/queue-form.component.html

@ -16,7 +16,7 @@
-->
<form [formGroup]="queueFormGroup" fxLayout="column" fxLayoutGap="0.5em">
<form [formGroup]="queueFormGroup" fxLayout="column">
<mat-form-field class="mat-block">
<mat-label translate>admin.queue-name</mat-label>
<input matInput formControlName="name" required>

2
ui-ngx/src/app/shared/models/queue.models.ts

@ -75,7 +75,7 @@ export const QueueProcessingStrategyTypesMap = new Map<QueueProcessingStrategyTy
[
[QueueProcessingStrategyTypes.RETRY_FAILED_AND_TIMED_OUT, {
label: 'queue.strategies.retry-failed-and-timeout-label',
hint: 'queue.strategies.retry-failed-and-timout-hint',
hint: 'queue.strategies.retry-failed-and-timeout-hint',
}],
[QueueProcessingStrategyTypes.SKIP_ALL_FAILURES, {
label: 'queue.strategies.skip-all-failures-label',

Loading…
Cancel
Save