1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-22 07:50:04 +02:00

fix disabled forwarder settings

This commit is contained in:
✨ Audrey ✨ 2024-10-17 16:27:25 -04:00
parent e496798867
commit 9da8aa8a18
No known key found for this signature in database
GPG Key ID: 0CF8B4C0D9088B97

View File

@ -88,7 +88,7 @@ export class ForwarderSettingsComponent implements OnInit, OnDestroy {
.subscribe(({ constraints }) => { .subscribe(({ constraints }) => {
for (const name in Controls) { for (const name in Controls) {
const control = this.settings.get(name); const control = this.settings.get(name);
if (configuration.request.includes(control as any)) { if (configuration.request.includes(name as any)) {
control.enable({ emitEvent: false }); control.enable({ emitEvent: false });
control.setValidators( control.setValidators(
// the configuration's type erasure affects `toValidators` as well // the configuration's type erasure affects `toValidators` as well