1
0

auto-git:

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

View File

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