Added delete toast
This commit is contained in:
@@ -28,8 +28,13 @@
|
||||
}
|
||||
};
|
||||
})();
|
||||
function submit() {
|
||||
RunnerService.runnerControllerRemove(delete_runner.id, true);
|
||||
async function submit() {
|
||||
await RunnerService.runnerControllerRemove(delete_runner.id, true);
|
||||
Toastify({
|
||||
text: $_("runner-deleted"),
|
||||
duration: 3500,
|
||||
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
|
||||
}).showToast();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user