Fixhancement: config option reset (#12176)

This commit is contained in:
shamoon
2026-02-26 10:03:54 -08:00
committed by GitHub
parent 13e07844fe
commit 9601b3d597
3 changed files with 33 additions and 6 deletions
@@ -208,4 +208,12 @@ export class ConfigComponent
},
})
}
public isSet(key: string): boolean {
return this.configForm.get(key).value != null
}
public resetOption(key: string) {
this.configForm.get(key).setValue(null)
}
}