Added error message toast (#19672)

This commit is contained in:
SmithThe4th 2026-03-19 17:12:37 -04:00 committed by GitHub
parent 7e669a53bc
commit 7b1ed66830
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -2121,6 +2121,9 @@
"exportSuccess": {
"message": "Vault data exported"
},
"exportError": {
"message": "An error occurred while exporting your vault data"
},
"passwordGenerator": {
"message": "Password generator"
},

View File

@ -551,6 +551,11 @@ export class ExportComponent implements OnInit, OnDestroy, AfterViewInit {
this.exportForm.clearValidators();
} catch (e) {
this.logService.error(e);
this.toastService.showToast({
variant: "error",
title: this.i18nService.t("errorOccurred"),
message: this.i18nService.t("exportError"),
});
}
}