Профиль диска
Параметры копирования
@@ -406,6 +407,13 @@ document.getElementById('diskState').addEventListener('click', (event) => {
if (action === 'start-copy') startCopy(button.dataset.mode || 'add');
if (action === 'cancel-copy') cancelCopy();
if (action === 'init-disk') initDisk();
+ if (action === 'disk-settings') {
+ const panel = document.getElementById('profilePanel');
+ if (!panel) return;
+ const open = panel.style.display !== 'none';
+ panel.style.display = open ? 'none' : '';
+ button.textContent = open ? '⚙ Settings' : '⚙ Settings ✕';
+ }
});
const savedMountPath = localStorage.getItem('jukebox.selectedMountPath');