Browse Source

refactoring

pull/11861/head
mpetrov 2 years ago
parent
commit
0c8d7160ac
  1. 2
      ui-ngx/src/app/modules/home/pages/rulechain/debug-config-button.component.html
  2. 2
      ui-ngx/src/app/modules/home/pages/rulechain/rule-node-details.component.html

2
ui-ngx/src/app/modules/home/pages/rulechain/debug-config-button.component.html

@ -23,7 +23,7 @@
[disabled]="disabled"
(click)="openDebugStrategyPanel($event, matButton)">
<mat-icon [color]="disabled ? 'inherit' : 'primary'">bug_report</mat-icon>
<span *ngIf="!debugAll && !debugFailures && !isDebugAllActive()" translate>common.disabled</span>
<span *ngIf="!debugFailures && !isDebugAllActive()" translate>common.disabled</span>
<span *ngIf="isDebugAllActive() && debugFailures" translate>debug-config.all</span>
<span *ngIf="isDebugAllActive() && !debugFailures">{{ debugAllUntil | debugDurationLeft }}</span>
<span *ngIf="!isDebugAllActive() && debugFailures" translate>debug-config.failures</span>

2
ui-ngx/src/app/modules/home/pages/rulechain/rule-node-details.component.html

@ -46,7 +46,7 @@
class="tb-rounded-btn flex-1"
color="primary"
*ngIf="isSingleton()"
[disabled]="disabled"
[disabled]="ruleNodeFormGroup.get('singletonMode').disabled || disabled"
[class.active]="ruleNodeFormGroup.get('singletonMode').value"
(click)="onSingleModeChange($event)">
<mat-icon [class.invisible]="!ruleNodeFormGroup.get('singletonMode').value">checkmark</mat-icon>

Loading…
Cancel
Save