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:
rbertus2000 2023-02-21 04:09:16 +01:00 committed by GitHub
parent e25e1bfe10
commit 75f758e792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}