1
0
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:
KiruthigaManivannan
2024-06-06 20:46:59 +05:30
committed by GitHub
parent 0f9f7f4df6
commit c8eac6fa12
2 changed files with 77 additions and 112 deletions

View File

@@ -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();