Fixed webhook stuff.
This commit is contained in:
@@ -28,6 +28,21 @@ function errorToast(message) {
|
||||
}
|
||||
})
|
||||
}
|
||||
function infoToast(message) {
|
||||
Swal.fire({
|
||||
toast: true,
|
||||
position: "top-end",
|
||||
showConfirmButton: false,
|
||||
timer: 3000,
|
||||
title: message,
|
||||
timerProgressBar: true,
|
||||
icon: "info",
|
||||
didOpen: (toast) => {
|
||||
toast.onmouseenter = Swal.stopTimer;
|
||||
toast.onmouseleave = Swal.resumeTimer;
|
||||
}
|
||||
})
|
||||
}
|
||||
function viewVehicle(vehicleId) {
|
||||
window.location.href = `/Vehicle/Index?vehicleId=${vehicleId}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user