mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
PM-4977 Migrate Preferences component (#8663)
* PM-4977 Migrate Preferences component * PM-4977 Addressed the review comments * PM-4977 Updated css in preferences html * PM-4977 Removed the class applied on bit-hint
This commit is contained in:
committed by
GitHub
parent
0f9f7f4df6
commit
c8eac6fa12
@@ -158,7 +158,7 @@ export class PreferencesComponent implements OnInit {
|
||||
this.form.setValue(initialFormValues, { emitEvent: false });
|
||||
}
|
||||
|
||||
async submit() {
|
||||
submit = async () => {
|
||||
if (!this.form.controls.vaultTimeout.valid) {
|
||||
this.platformUtilsService.showToast(
|
||||
"error",
|
||||
@@ -188,7 +188,7 @@ export class PreferencesComponent implements OnInit {
|
||||
this.i18nService.t("preferencesUpdated"),
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
ngOnDestroy() {
|
||||
this.destroy$.next();
|
||||
|
||||
Reference in New Issue
Block a user