1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-28 06:03:14 +00:00

Merge branch 'master' into bug-report-component

This commit is contained in:
Justin Baur
2022-03-20 13:25:50 -04:00
20 changed files with 752 additions and 117 deletions

View File

@@ -31,10 +31,7 @@ export class ApiActionDirective implements OnChanges {
(e: any) => {
this.el.nativeElement.loading = false;
if (
(e instanceof ErrorResponse || e.constructor.name === "ErrorResponse") &&
(e as ErrorResponse).captchaRequired
) {
if ((e as ErrorResponse).captchaRequired) {
this.logService.error("Captcha required error response: " + e.getSingleMessage());
return;
}