mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
Rename all occurances of fb to formBuilder (#595)
This commit is contained in:
parent
e4cd0af2f9
commit
cc989e4071
@ -20,7 +20,7 @@ export class ExportComponent implements OnInit {
|
|||||||
formPromise: Promise<string>;
|
formPromise: Promise<string>;
|
||||||
disabledByPolicy: boolean = false;
|
disabledByPolicy: boolean = false;
|
||||||
|
|
||||||
exportForm = this.fb.group({
|
exportForm = this.formBuilder.group({
|
||||||
format: ["json"],
|
format: ["json"],
|
||||||
secret: [""],
|
secret: [""],
|
||||||
});
|
});
|
||||||
@ -41,7 +41,7 @@ export class ExportComponent implements OnInit {
|
|||||||
protected win: Window,
|
protected win: Window,
|
||||||
private logService: LogService,
|
private logService: LogService,
|
||||||
private userVerificationService: UserVerificationService,
|
private userVerificationService: UserVerificationService,
|
||||||
private fb: FormBuilder
|
private formBuilder: FormBuilder
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
|
@ -21,9 +21,9 @@ export class VaultTimeoutInputComponent implements ControlValueAccessor, Validat
|
|||||||
|
|
||||||
static CUSTOM_VALUE = -100;
|
static CUSTOM_VALUE = -100;
|
||||||
|
|
||||||
form = this.fb.group({
|
form = this.formBuilder.group({
|
||||||
vaultTimeout: [null],
|
vaultTimeout: [null],
|
||||||
custom: this.fb.group({
|
custom: this.formBuilder.group({
|
||||||
hours: [null],
|
hours: [null],
|
||||||
minutes: [null],
|
minutes: [null],
|
||||||
}),
|
}),
|
||||||
@ -38,7 +38,7 @@ export class VaultTimeoutInputComponent implements ControlValueAccessor, Validat
|
|||||||
private validatorChange: () => void;
|
private validatorChange: () => void;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private fb: FormBuilder,
|
private formBuilder: FormBuilder,
|
||||||
private policyService: PolicyService,
|
private policyService: PolicyService,
|
||||||
private i18nService: I18nService
|
private i18nService: I18nService
|
||||||
) {}
|
) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user