parent
a99c022608
commit
8fa0be7633
@ -138,9 +138,10 @@
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
toast.hideToast();
|
||||
Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
duration: 3500,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
|
@ -68,9 +68,10 @@
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
toast.hideToast();
|
||||
Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
duration: 3500,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
|
@ -151,9 +151,10 @@
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
toast.hideToast();
|
||||
Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
duration: 3500,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
|
@ -120,9 +120,10 @@
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
toast.hideToast();
|
||||
Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
duration: 3500,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
|
@ -70,9 +70,10 @@
|
||||
)
|
||||
.then((response) => {
|
||||
if (response.status != '200') {
|
||||
const toast = Toastify({
|
||||
toast.hideToast();
|
||||
Toastify({
|
||||
text: $_('pdf-generation-failed'),
|
||||
duration: 1000,
|
||||
duration: 3500,
|
||||
backgroundColor:
|
||||
'linear-gradient(90deg, hsla(281, 37%, 45%, 1) 0%, hsla(1, 62%, 48%, 1) 100%)',
|
||||
}).showToast();
|
||||
|
Loading…
x
Reference in New Issue
Block a user