parent
4ece21cdf2
commit
12bcbd28f3
@ -136,7 +136,18 @@
|
||||
body: JSON.stringify(runners),
|
||||
}
|
||||
)
|
||||
.then((response) => response.blob())
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
} else {
|
||||
return response.blob();
|
||||
}
|
||||
})
|
||||
.then((blob) => {
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
let a = document.createElement('a');
|
||||
|
@ -66,7 +66,18 @@
|
||||
body: JSON.stringify(runners),
|
||||
}
|
||||
)
|
||||
.then((response) => response.blob())
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
} else {
|
||||
return response.blob();
|
||||
}
|
||||
})
|
||||
.then((blob) => {
|
||||
count++;
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
|
@ -149,7 +149,18 @@
|
||||
body: JSON.stringify([original_data_pdf]),
|
||||
}
|
||||
)
|
||||
.then((response) => response.blob())
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
} else {
|
||||
return response.blob();
|
||||
}
|
||||
})
|
||||
.then((blob) => {
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
let a = document.createElement('a');
|
||||
|
@ -97,7 +97,18 @@
|
||||
),
|
||||
}
|
||||
)
|
||||
.then((response) => response.blob())
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
} else {
|
||||
return response.blob();
|
||||
}
|
||||
})
|
||||
.then((blob) => {
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
let a = document.createElement('a');
|
||||
|
@ -118,7 +118,18 @@
|
||||
body: JSON.stringify(runners),
|
||||
}
|
||||
)
|
||||
.then((response) => response.blob())
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
} else {
|
||||
return response.blob();
|
||||
}
|
||||
})
|
||||
.then((blob) => {
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
let a = document.createElement('a');
|
||||
|
@ -68,7 +68,18 @@
|
||||
body: JSON.stringify(runners),
|
||||
}
|
||||
)
|
||||
.then((response) => response.blob())
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
} else {
|
||||
return response.blob();
|
||||
}
|
||||
})
|
||||
.then((blob) => {
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
let a = document.createElement('a');
|
||||
|
@ -238,5 +238,6 @@
|
||||
"verfuegbare": "verfügbare",
|
||||
"welcome_wavinghand": "Willkommen 👋",
|
||||
"you-can-now-use-your-new-password-to-log-in-to-your-account": "Du kannst dich jetzt mit deinem neuen Passwort anmelden! 🎉",
|
||||
"zip-postal-code": "Postleitzahl"
|
||||
"zip-postal-code": "Postleitzahl",
|
||||
"pdf-generation-failed": "pdf generation failed"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user