mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-03-30 18:26:27 +02: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
|
let force = false
|
||||||
if (res['enforce_output_dir'] !== undefined) {
|
if (res['enforce_output_dir'] !== undefined) {
|
||||||
force = res['enforce_output_dir']
|
force = res['enforce_output_dir']
|
||||||
|
if (force == true) {
|
||||||
|
saveToDiskField.checked = true
|
||||||
|
metadataOutputFormatField.disabled = false
|
||||||
|
}
|
||||||
saveToDiskField.disabled = force
|
saveToDiskField.disabled = force
|
||||||
diskPathField.disabled = force
|
diskPathField.disabled = force
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user