limit bbl file drops to actively monitored printers
This commit is contained in:
parent
76d90987f8
commit
afeea841d6
1 changed files with 3 additions and 0 deletions
|
|
@ -1144,6 +1144,9 @@ self.kiri.load(api => {
|
|||
let drop_zone = modal.bbl_drop_zone;
|
||||
let drop_timer;
|
||||
drop.ondragenter = (ev) => {
|
||||
if (!selected?.rec?.serial) {
|
||||
return;
|
||||
}
|
||||
drop.classList.add('nope');
|
||||
drop_zone.classList.remove('hide');
|
||||
clearTimeout(drop_timer);
|
||||
|
|
|
|||
Loading…
Reference in a new issue