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" formControlName="maxDebugModeDurationMinutes"
type="number"> type="number">
<mat-error *ngIf="defaultTenantProfileConfigurationFormGroup.get('maxDebugModeDurationMinutes').hasError('required')"> <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>
<mat-error *ngIf="defaultTenantProfileConfigurationFormGroup.get('maxDebugModeDurationMinutes').hasError('min')"> <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-error>
<mat-hint></mat-hint> <mat-hint></mat-hint>
</mat-form-field> </mat-form-field>

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

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

Loading…
Cancel
Save