mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[PM-17132] Fix rate limiter error message when upgrading organization (#13157)
This commit is contained in:
@@ -1045,10 +1045,12 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy {
|
|||||||
this.estimatedTax = invoice.taxAmount;
|
this.estimatedTax = invoice.taxAmount;
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
const translatedMessage = this.i18nService.t(error.message);
|
||||||
this.toastService.showToast({
|
this.toastService.showToast({
|
||||||
title: "",
|
title: "",
|
||||||
variant: "error",
|
variant: "error",
|
||||||
message: this.i18nService.t(error.message),
|
message:
|
||||||
|
!translatedMessage || translatedMessage === "" ? error.message : translatedMessage,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user