feat: implement settings synchronization with backend and migrate legacy settings

This commit is contained in:
Will Miao
2025-07-29 20:29:19 +08:00
parent a5808193a6
commit 4081b7f022
4 changed files with 68 additions and 79 deletions

View File

@@ -90,7 +90,7 @@ class MoveManager {
).join('');
// Set default lora root if available
const defaultRoot = getStorageItem('settings', {}).default_loras_root;
const defaultRoot = getStorageItem('settings', {}).default_lora_root;
if (defaultRoot && rootsData.roots.includes(defaultRoot)) {
this.loraRootSelect.value = defaultRoot;
}