mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Update base.html (#242)
This commit is contained in:
parent
eab8d55d63
commit
c8189bb969
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@
|
||||||
$("#modal_new_client").modal('hide');
|
$("#modal_new_client").modal('hide');
|
||||||
toastr.success('Created new client successfully');
|
toastr.success('Created new client successfully');
|
||||||
// Update the home page (clients page) after adding successfully
|
// Update the home page (clients page) after adding successfully
|
||||||
if (window.location.pathname === "/") {
|
if (window.location.pathname === "{{.basePath}}/") {
|
||||||
populateClient(resp.id);
|
populateClient(resp.id);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue