Skip to content

Commit 387ba5c

Browse files
committed
fixed spinner not stopping if no device found
1 parent 66594ce commit 387ba5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

homebridge-ui/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ <h5 class="modal-title">Warning!</h5>
6464
</div>
6565
</div>
6666
</form>
67-
<h3 class="text-center">Status: <span id="deviceStatus"></span></h3>
67+
<h3 class="text-center">Status: <span id="deviceStatus">N/A</span></h3>
6868
<pre class="card" style="height: 55vh; overflow: scroll; white-space: pre" id="logZone"></pre>
6969
</div>
7070
<button type="button" class="btn btn-outline-warning ms-3" id="exitAddDevice" style="display:none" onclick="plugin.showDevices()">&larr;

homebridge-ui/public/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ class iRobotPlugin {
118118
deviceSelect.add(option);
119119
deviceSelect.disabled = true;
120120
this.setDeviceButtonEnabled(true);
121+
homebridge.hideSpinner();
121122
}
122123
//deviceSelect.addEventListener('change', () => this.showDeviceLogs(deviceSelect.value));
123124
//homebridge.hideSpinner();

0 commit comments

Comments
 (0)