2
0

Fix bug with interval

This commit is contained in:
glax 2023-05-23 18:19:46 +02:00
parent 6d0fcc13fb
commit 877daf0a1e

View File

@ -196,9 +196,11 @@ setInterval(() => {
.then(() => {
if(tasks.length != cTasks.length) {
ResetContent();
cTasks.forEach(task => {
var publication = CreatePublication(task.publication, task.connectorName);
publication.addEventListener("click", (event) => ShowPublicationViewerWindow(task.publication.internalId, event));
tasksContent.appendChild(publication);
})
tasks = cTasks;
}