feat: Add export without login

This commit is contained in:
kwaroran
2024-05-31 09:39:17 +09:00
parent 6b79ee872f
commit f24989c901
6 changed files with 8 additions and 16 deletions

View File

@@ -78,10 +78,6 @@
exportModule(rmodule)
}
if(data.type === 'realm'){
if(!$DataBase.account){
alertError(language.notLoggedIn)
return
}
const index = $DataBase.modules.findIndex((v) => v.id === rmodule.id)
$ShowRealmFrameStore = `module:${index}`
}

View File

@@ -55,10 +55,6 @@
downloadPreset(i, 'json')
}
if(data.type === 'realm'){
if(!$DataBase.account){
alertError(language.notLoggedIn)
return
}
$ShowRealmFrameStore = `preset:${i}`
}
}}>