Fix bug with interval
This commit is contained in:
parent
6d0fcc13fb
commit
877daf0a1e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user