fix electron build/run

This commit is contained in:
Stewart Allen 2025-07-07 18:51:17 -04:00
commit e72ac11fbe
6 changed files with 33 additions and 24 deletions

View file

@ -564,7 +564,7 @@ self.kiri.load(api => {
function monitoring() {
let mon = selected?.rec?.serial ?? '';
ui.setVisible($('bbl_connect'), select.value !== '' && monitors.indexOf(mon) < 0);
ui.setVisible($('bbl_connect'), select?.value && monitors.indexOf(mon) < 0);
return mon ? true : false;
}
@ -660,7 +660,7 @@ self.kiri.load(api => {
}
});
api.event.on("init-done", function() {
api.event.on("load-done", function() {
if (init) {
return;
}