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:
parent
e496798867
commit
9da8aa8a18
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user