You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/src/ts/modals/forgot-password.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,14 @@ import * as Loader from "../elements/loader";
6
6
import{z}from"zod";
7
7
8
8
exportfunctionshow(): void{
9
+
if(!CaptchaController.isCaptchaAvailable()){
10
+
Notifications.add(
11
+
"Could not show forgot password popup: Captcha is not available. This could happen due to a blocked or failed network request. Please refresh the page or contact support if this issue persists.",
Copy file name to clipboardExpand all lines: frontend/src/ts/modals/google-sign-up.ts
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,27 @@ function show(credential: UserCredential): void {
23
23
mode: "dialog",
24
24
focusFirstInput: true,
25
25
beforeAnimation: async()=>{
26
+
signedInUser=credential;
27
+
28
+
if(!CaptchaController.isCaptchaAvailable()){
29
+
Notifications.add(
30
+
"Could not show google sign up popup: Captcha is not avilable. This could happen due to a blocked or failed network request. Please refresh the page or contact support if this issue persists.",
Copy file name to clipboardExpand all lines: frontend/src/ts/modals/quote-report.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,14 @@ export async function show(
24
24
quoteId: number,
25
25
showOptions?: ShowOptions
26
26
): Promise<void>{
27
+
if(!CaptchaController.isCaptchaAvailable()){
28
+
Notifications.add(
29
+
"Could not show quote report popup: Captcha is not available. This could happen due to a blocked or failed network request. Please refresh the page or contact support if this issue persists.",
"Could not show quote submit popup: Captcha is not available. This could happen due to a blocked or failed network request. Please refresh the page or contact support if this issue persists.",
"Could not show register popup: Captcha is not available. This could happen due to a blocked or failed network request. Please refresh the page or contact support if this issue persists.",
"Could not show user report popup: Captcha is not available. This could happen due to a blocked or failed network request. Please refresh the page or contact support if this issue persists.",
0 commit comments