diff --git a/src/web/ui-v2-dist/index.html b/src/web/ui-v2-dist/index.html index 99d7700..0f3a119 100644 --- a/src/web/ui-v2-dist/index.html +++ b/src/web/ui-v2-dist/index.html @@ -786,20 +786,16 @@ function init(){ btn.onclick=()=>{ const view=btn.dataset.view; if(view==='main'){document.querySelectorAll('.tab-btn').forEach(b=>b.classList.remove('active'));btn.classList.add('active');} - else if(view==='settings')openOverlay('Settings'); + else if(view==='settings'){window.location.href='/settings';return;} else if(view==='presets'){openOverlay('Presets');loadPresets();} else if(view==='snapshots'){openOverlay('Snapshots');loadSnapshots();} else if(view==='downloads')openOverlay('Downloads'); }; }); - // Status bar: settings - document.getElementById('btnSettings').onclick=async()=>{ - document.getElementById('instrumentLabel').textContent=currentChannel.charAt(0).toUpperCase()+currentChannel.slice(1).replace('_',' '); - openOverlay('Settings'); - await loadAudioProfiles();await loadBtStatus();await loadBtMidi();await loadHotspotStatus(); - await loadNetworkInfo();await loadSystemInfo();await doWifiScan(); - loadAudioDevices();loadChInstrumentState(); + // Status bar: settings → navigate to full settings page + document.getElementById('btnSettings').onclick=()=>{ + window.location.href='/settings'; }; // Close all overlays