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

Changing back

parent 303cf8e8
No related branches found
No related tags found
1 merge request!1Swagger improvements
...@@ -30,9 +30,9 @@ export class LedPresentationComponent implements OnInit { ...@@ -30,9 +30,9 @@ export class LedPresentationComponent implements OnInit {
onValueChange(currentValue: string, id: number) { onValueChange(currentValue: string, id: number) {
if (+currentValue === 1) { if (+currentValue === 1) {
this.setOn(id);
} else {
this.setOff(id); this.setOff(id);
} else {
this.setOn(id);
} }
} }
......
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