Fixhancement: config option reset (#12176)

This commit is contained in:
shamoon authored and GitHub committed 2026-02-26 10:03:54 -08:00
1 parent 13e07844fe
commit 9601b3d597
3 files changed
+33 -6

No files matched your search

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