pass proper user for create usage, redirect properly after delete

This commit is contained in:
Jordan Rodgers 2017-12-12 15:58:56 -05:00
parent 539cd6f0f4
commit 3319fa6362
2 changed files with 2 additions and 2 deletions

View file

@ -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");