Revize 086f94e9
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/unit/components/unit.component.html | ||
---|---|---|
37 | 37 |
<ng-container *ngFor="let sensor of sensors"> |
38 | 38 |
<ng-container *ngIf="sensor.sensorId.toString().slice(0, 5) === group"> |
39 | 39 |
<div class="p-field-checkbox"> |
40 |
<p-checkbox name="group1" value="{{sensor.sensorId}}" [value]="sensor.sensorId" inputId="{{sensor.sensorId}}" [(ngModel)]="selectedSensors" [inputId]="sensor.sensorId.toString()" (onChange)="addSensorToGraph(sensor.sensorId)"></p-checkbox>
|
|
41 |
<label>{{sensor.sensorName}}</label>
|
|
40 |
<p-checkbox name="group1" value="{{sensor.sensorId}}" [(ngModel)]="selectedSensors" [inputId]="sensor.sensorId.toString()" (onChange)="addSensorToGraph(sensor.sensorId, $event)"></p-checkbox>
|
|
41 |
<label>{{sensor.sensorId}}</label>
|
|
42 | 42 |
</div> |
43 | 43 |
</ng-container> |
44 | 44 |
</ng-container> |
Také k dispozici: Unified diff
Re #8851 - Unit page - implementace