Revize 533869de
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/dashboard/components/dashboard.component.ts | ||
---|---|---|
23 | 23 |
showInsertUnitPopup = false; |
24 | 24 |
editedUnit: Unit; |
25 | 25 |
showEditUnitPopup = false; |
26 |
showInsertSensorPopup = false; |
|
26 | 27 |
phenomenons: Phenomenon[]; |
27 | 28 |
|
28 | 29 |
constructor( |
... | ... | |
60 | 61 |
getEditedUnit(): Unit { |
61 | 62 |
return this.editedUnit; |
62 | 63 |
} |
64 |
|
|
65 |
addSensor($event: any, unit: Unit) { |
|
66 |
$event.stopPropagation(); |
|
67 |
this.showInsertSensorPopup = true; |
|
68 |
this.editedUnit = unit; |
|
69 |
} |
|
63 | 70 |
} |
Také k dispozici: Unified diff
Re #8789 - Přidat sensor - formulář, endpoint
+ form for adding sensor to unit
+ first styling form