|
|
@@ -136,8 +136,8 @@ export class UnitComponent implements OnInit, OnDestroy {
|
|
|
const sensorGroupElement = '#vega_container_' + groupId;
|
|
|
|
|
|
// if the checkmark is checked then the graph will be displayed
|
|
|
- // this.showVega[groupId] = false;
|
|
|
- // if (event.checked.includes(sensorId.toString()))
|
|
|
+ this.showVega[groupId] = false;
|
|
|
+ if (event.checked.includes(sensorId.toString()))
|
|
|
this.showVega[groupId] = true;
|
|
|
|
|
|
const box = document.getElementById('vega_container_' + groupId);
|