chore: remove unused showSetupError from ui.js (duplicate of _showSetupError in main.js)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-13 01:07:49 +02:00
1 parent 67185b85e9
commit bbe4412f42
1 file changed
-5
-5
View File
@@ -50,11 +50,6 @@ export function switchSetupTab(t) {
document.querySelectorAll('.setup-tab').forEach((el,i) => el.classList.toggle('active', i===(t==='navidrome'?0:1)));
document.querySelectorAll('.setup-pane').forEach((el,i) => el.classList.toggle('active', i===(t==='navidrome'?0:1)));
}
export function showSetupError(m) {
const el = document.getElementById('setup-error');
el.textContent = m; el.style.display = 'block';
}
// ─── SETTINGS ───
export function openSettings() {
// Lazy import to avoid circular dep — abs.js imports views.js