1
0

auto-git:

[change] renderer.js
This commit is contained in:
2025-05-24 06:26:37 +02:00
parent 820bf92eca
commit b289f2f4f9

View File

@@ -203,7 +203,7 @@ folders.forEach(folderObj => {
titleEl.textContent = folder;
const { head, commits } = await window.electronAPI.getCommits(folderObj);
closeDropdown();
contentList.innerHTML = commits.map(c => `
<li class="w-full p-3 mb-2 bg-white border border-gray-200 rounded shadow-sm
${c.hash === head ? 'current-commit' : ''}">
@@ -462,7 +462,7 @@ folders.forEach(folderObj => {
}
// **Optional: Bei neuem Ordnerauswahl Dropdown schließen**
//window.addEventListener('repo-updated', closeDropdown);
window.addEventListener('repo-updated', closeDropdown);
});