1
0

Initialize commitsToday variable in renderer.js

This commit is contained in:
2025-05-26 11:04:04 +02:00
parent e6ded61bb0
commit aaf85e9fd6

View File

@@ -372,6 +372,7 @@ async function updateInteractionBar(folderObj) {
}
// In die Bar schreiben
commitsToday = 0;
const [r, g, b] = getCommitColor(commitsToday);
document.getElementById('commitsToday').textContent = commitsToday;
document.getElementById('commitsToday').style.color = `rgb(${r},${g},${b})`;