|
|
@@ -30,13 +30,12 @@
|
|
|
<option *ngFor="let role of adjusterPresetsService.roles" [ngValue]="role">{{role.labels[0]['@value']}}</option>
|
|
|
</select>
|
|
|
and I want to solve a problem with: 
|
|
|
- <select class="form-select" [(ngModel)]="adjusterPresetsService.activeProblem">
|
|
|
+ <select class="form-select" [(ngModel)]="adjusterPresetsService.activeProblem" (ngModelChange)="adjusterPresetsService.applyProblem($event)">
|
|
|
<option *ngFor="let problem of adjusterPresetsService.getActiveRoleProblems()" [ngValue]="problem">{{problem.labels[0]['@value']}}</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<button class="btn btn-secondary btn-sm" aria-expanded="false" aria-controls="advancedOptions" (click)="showAdvancedOptions = !showAdvancedOptions">
|
|
|
- <span class="glyphicon cursor-pointer" [ngClass]="showAdvancedOptions ? 'icon-chevron-down' : 'icon-chevron-right'">
|
|
|
- </span>
|
|
|
+ <span class="glyphicon cursor-pointer" [ngClass]="showAdvancedOptions ? 'icon-chevron-down' : 'icon-chevron-right'"></span>
|
|
|
Advanced
|
|
|
</button>
|
|
|
<div class="p-2 center-block" [hidden]="!showAdvancedOptions">
|