mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
pass proper user for create usage, redirect properly after delete
This commit is contained in:
parent
539cd6f0f4
commit
3319fa6362
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ $("#delete-vm").click(function(){
|
|||
icon: "success",
|
||||
});
|
||||
}).then(() => {
|
||||
window.location = "";
|
||||
window.location = "/";
|
||||
}).catch(err => {
|
||||
if (err) {
|
||||
swal("Uh oh...", `Unable to delete ${vmname}. Please try again later.`, "error");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue