Fix bug with invalid permissions for client

This commit is contained in:
Fabian Stamm 2018-11-09 17:08:46 +01:00
parent 557d7e186e
commit 4c1813ab05

View File

@ -78,7 +78,7 @@ Handlebars.registerHelper("formatDate", function (datetime, format) {
setCustomCard(); setCustomCard();
async function loadList() { async function loadList() {
try { try {
let data = await request("/api/admin/permission", "GET"); let data = await request("/api/admin/permission&client=" + client_id, "GET");
tableb.innerHTML = listt({ tableb.innerHTML = listt({
client_id: client_id, client_id: client_id,
client_name: client_name, client_name: client_name,