Fix bug
This commit is contained in:
parent
658fcd57c3
commit
4cf574ced8
|
|
@ -295,7 +295,7 @@ export class Engine {
|
|||
*/
|
||||
showImage(led: Led): void {
|
||||
if (led.on) {
|
||||
this.selectedObject.innerText = led.name.split('.')[0] + ' (' + (<number> this.leds.currentLedIndex + 1) + '/' + this.leds.children.length + ')';
|
||||
this.selectedObject.innerText = led.name.split('.')[0] + ' (' + (<number> this.leds.currentLedIndex + 1) + '/' + this.leds.leds.length + ')';
|
||||
this.ledView.src = '/data/calibration/' + this.objectId + '/' + led.name;
|
||||
this.ledView.style.display = 'block';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue