mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-16 10:29:39 +01:00
Allow setting the metadata field in the server settings, instead of forcing json whenever force_save_path is set
This commit is contained in:
parent
7a9bc883df
commit
4c8d5a7077
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user