mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
fixed: timezone de orders alterado para exibição utc -3
This commit is contained in:
@@ -181,8 +181,6 @@ function openFullscreen() {
|
||||
var feedbackMsg = Swal.fire({
|
||||
color: 'white',
|
||||
title: message,
|
||||
// toast: true,
|
||||
// position: 'top',
|
||||
text: subMessage || '',
|
||||
icon: icon || 'info',
|
||||
background: 'rgb(23, 38, 54)',
|
||||
@@ -190,4 +188,23 @@ function openFullscreen() {
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
function toast(){
|
||||
|
||||
const Toast = Swal.mixin({
|
||||
toast: true,
|
||||
theme:"dark",
|
||||
position: "top",
|
||||
showConfirmButton: false,
|
||||
background: 'rgb(30, 42, 58)',
|
||||
color: 'white',
|
||||
showCloseButton: true,
|
||||
timer: 2500,
|
||||
timerProgressBar: true,
|
||||
didOpen: (toast) => {
|
||||
toast.onmouseenter = Swal.stopTimer;
|
||||
toast.onmouseleave = Swal.resumeTimer;
|
||||
}
|
||||
});
|
||||
return Toast;
|
||||
}
|
||||
Reference in New Issue
Block a user