mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-03-27 07:40:52 +01:00
Bugfix for enforce autosave (#909)
* show saveToDisk as checked and enable metadata format selection * spaces instead of tabs * check if force = true
This commit is contained in:
parent
e25e1bfe10
commit
75f758e792
@ -428,6 +428,10 @@ async function getSystemInfo() {
|
||||
let force = false
|
||||
if (res['enforce_output_dir'] !== undefined) {
|
||||
force = res['enforce_output_dir']
|
||||
if (force == true) {
|
||||
saveToDiskField.checked = true
|
||||
metadataOutputFormatField.disabled = false
|
||||
}
|
||||
saveToDiskField.disabled = force
|
||||
diskPathField.disabled = force
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user