Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
Feature/SK-377 | App lists - Handle status check when response is emp…
Browse files Browse the repository at this point in the history
…ty (#89)
  • Loading branch information
niklastheman committed Mar 15, 2023
1 parent 9e8a7d1 commit 1ef30e5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion templates/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,19 @@ <h4>
}
}

setInterval(updateStatus, 5000);
const loop = async () => {

if (apps) {

await updateStatus()

setTimeout(() => {
loop()
}, 5000)
}
}

loop()

</script>

Expand Down

0 comments on commit 1ef30e5

Please sign in to comment.