Browse Source

refactoring

pull/11861/head
mpetrov 2 years ago
parent
commit
a70d405347
  1. 4
      ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html
  2. 6
      ui-ngx/src/app/shared/models/entity.models.ts

4
ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html

@ -83,10 +83,10 @@
formControlName="maxDebugModeDurationMinutes"
type="number">
<mat-error *ngIf="defaultTenantProfileConfigurationFormGroup.get('maxDebugModeDurationMinutes').hasError('required')">
{{ 'tenant-profile.maximum-debug-duration-min-range' | translate}}
{{ 'tenant-profile.maximum-debug-duration-min-range' | translate }}
</mat-error>
<mat-error *ngIf="defaultTenantProfileConfigurationFormGroup.get('maxDebugModeDurationMinutes').hasError('min')">
{{ 'tenant-profile.maximum-debug-duration-min-required' | translate}}
{{ 'tenant-profile.maximum-debug-duration-min-required' | translate }}
</mat-error>
<mat-hint></mat-hint>
</mat-form-field>

6
ui-ngx/src/app/shared/models/entity.models.ts

@ -193,7 +193,7 @@ export interface HasVersion {
}
export interface HasDebugConfig {
debugAll: boolean;
debugFailures: boolean;
debugAllUntil: number;
debugAll?: boolean;
debugFailures?: boolean;
debugAllUntil?: number;
}

Loading…
Cancel
Save