diff --git a/app/templates/index.html b/app/templates/index.html index ea80984..ca09b53 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -25,10 +25,7 @@ async function loadRepos() { const res = await fetch("/api/repos"); const repos = await res.json(); const container = document.getElementById("repos"); - // Pruefe ob Repo schon existiert -const checkRepoStatus = (repo) => { - fetch(`/api/repos/${repo.id}/status`).then(r => r.json()) -} + container.innerHTML = ""; repos.forEach(repo => { const card = document.createElement("div");