settings placeholders for komga if configured

This commit is contained in:
glax 2023-05-31 17:55:09 +02:00
parent 60519910de
commit 8d3b8be95c

View File

@ -242,8 +242,11 @@ function GetSettingsClick(){
GetSettings().then(json => { GetSettings().then(json => {
settingDownloadLocation.innerText = json.downloadLocation; settingDownloadLocation.innerText = json.downloadLocation;
if(json.komga != null) if(json.komga != null) {
settingKomgaUrl.placeholder = json.komga.baseUrl; settingKomgaUrl.placeholder = json.komga.baseUrl;
settingKomgaUser.placeholder = "Configured";
settingKomgaPass.placeholder = "***";
}
}); });
GetKomgaTask().then(json => { GetKomgaTask().then(json => {