chore(dev): improve bulk change handling #2234

Merged
Sainan merged 4 commits from dev-debounce into main 2025-06-21 11:33:59 -07:00
Showing only changes of commit befbe820b4 - Show all commits

View File

@ -12,7 +12,7 @@ let auth_pending = false,
did_initial_auth = false, did_initial_auth = false,
ws_is_open = false; ws_is_open = false;
const sendAuth = isRegister => { const sendAuth = isRegister => {
if (localStorage.getItem("email") && localStorage.getItem("password")) { if (ws_is_open && localStorage.getItem("email") && localStorage.getItem("password")) {
auth_pending = true; auth_pending = true;
window.ws.send( window.ws.send(
JSON.stringify({ JSON.stringify({