add count client

This commit is contained in:
2022-07-26 00:18:42 +02:00
parent 59153ded4c
commit e86a4aa0cf
2 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ axios.interceptors.request.use(function (config) {
});
instance.get("users/count", { withCredentials: true }).then(function(response){
console.log(response.data);
var countTable = document.getElementById("users").querySelector("tbody").querySelectorAll("tr").length;
})