Allow setting the metadata field in the server settings, instead of forcing json whenever force_save_path is set

This commit is contained in:
cmdr2 2023-09-29 20:23:24 +05:30
parent 7a9bc883df
commit 4c8d5a7077

View File

@ -525,6 +525,10 @@ async function getAppConfig() {
customHeightField.step = IMAGE_STEP_SIZE
}
if (config.force_save_metadata) {
metadataOutputFormatField.value = config.force_save_metadata
}
console.log("get config status response", config)
return config
@ -737,7 +741,6 @@ async function getSystemInfo() {
if (force == true) {
saveToDiskField.checked = true
metadataOutputFormatField.disabled = false
metadataOutputFormatField.value = "json"
}
saveToDiskField.disabled = force
diskPathField.disabled = force