Skip to content

Commit

Permalink
fixed spinner not stopping if no device found
Browse files Browse the repository at this point in the history
bloomkd46 committed Jan 2, 2023
1 parent 66594ce commit 387ba5c
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion homebridge-ui/public/index.html
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ <h5 class="modal-title">Warning!</h5>
</div>
</div>
</form>
<h3 class="text-center">Status: <span id="deviceStatus"></span></h3>
<h3 class="text-center">Status: <span id="deviceStatus">N/A</span></h3>
<pre class="card" style="height: 55vh; overflow: scroll; white-space: pre" id="logZone"></pre>
</div>
<button type="button" class="btn btn-outline-warning ms-3" id="exitAddDevice" style="display:none" onclick="plugin.showDevices()">&larr;
1 change: 1 addition & 0 deletions homebridge-ui/public/index.ts
Original file line number Diff line number Diff line change
@@ -118,6 +118,7 @@ class iRobotPlugin {
deviceSelect.add(option);
deviceSelect.disabled = true;
this.setDeviceButtonEnabled(true);
homebridge.hideSpinner();
}
//deviceSelect.addEventListener('change', () => this.showDeviceLogs(deviceSelect.value));
//homebridge.hideSpinner();

0 comments on commit 387ba5c

Please sign in to comment.