Skip to content
Snippets Groups Projects
Commit bb5a87d6 authored by kasperlauge's avatar kasperlauge
Browse files

Removed debugging stuff

parent 9dee245e
No related branches found
No related tags found
1 merge request!2Features/led fix
...@@ -43,8 +43,6 @@ export class LedPresentationComponent implements OnInit { ...@@ -43,8 +43,6 @@ export class LedPresentationComponent implements OnInit {
setOff(id: number) { setOff(id: number) {
this.sensorService.setLED(id, false).pipe(takeUntil(this.unsubscribe)).subscribe(result => { this.sensorService.setLED(id, false).pipe(takeUntil(this.unsubscribe)).subscribe(result => {
console.log(result);
console.log(this.leds);
this.leds.find(led => led.id === result.id)[0] = result; this.leds.find(led => led.id === result.id)[0] = result;
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment