Update base.html (#242)

This commit is contained in:
Weegley 2022-12-03 01:08:07 +03:00 committed by GitHub
parent eab8d55d63
commit c8189bb969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -376,7 +376,7 @@
$("#modal_new_client").modal('hide');
toastr.success('Created new client successfully');
// Update the home page (clients page) after adding successfully
if (window.location.pathname === "/") {
if (window.location.pathname === "{{.basePath}}/") {
populateClient(resp.id);
}
},