Files
nextsnap/app/templates/queue.html
kamaji 5f354bb5fc Fix queue list crash: empty-state element destroyed by innerHTML
loadQueue() used getElementById('empty-state') on each call, but the
first successful render wiped it with innerHTML=''. Every subsequent
call got null and threw TypeError on .style access, silently killing
all future list refreshes. Counters kept working because updateStats()
runs independently.

Fix: recreate the empty state as innerHTML string instead of
referencing a DOM element that gets destroyed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:02:06 -06:00

16 KiB