alarms update

This commit is contained in:
Ivan
2023-08-07 14:44:15 +03:00
parent 9c6689c538
commit a4b5583658
4 changed files with 229 additions and 35 deletions

View File

@ -165,7 +165,7 @@ const createTable = () => {
const shareCell = document.createElement("td");
const shareButton = document.createElement("button");
shareButton.setAttribute("class", "share");
shareButton.setAttribute("onclick", "location.href = '/reports/346';");
shareButton.setAttribute("onclick", `location.href = '/reports/${device.id}';`);
shareButton.value = `delete-device-${device.id}`;
shareButton.id = `delete-device-${device.id}`;