Füge Platzhalter für laufende Blöcke ohne Gesamtarbeitszeit hinzu, um die Pausensummen korrekt auszurichten.
All checks were successful
Deploy production / deploy (push) Successful in 44s

This commit is contained in:
Torsten Schulz (local)
2026-09-02 13:59:26 +02:00
parent 3cbd627219
commit b68b91b47c

View File

@@ -103,6 +103,11 @@
<div v-if="block.totalWorkTime" class="total-work-time">
{{ block.totalWorkTime }}
</div>
<!-- Laufende Blöcke haben keine Gesamtarbeitszeit. Der Platzhalter hält
die anschließenden Pausensummen auf Höhe der Pausenzeit. -->
<div v-else-if="block.pauseTimes && block.pauseTimes.length > 0" class="total-work-time" aria-hidden="true">
&nbsp;
</div>
<div v-for="(pauseTime, pIndex) in block.pauseTimes" :key="`${blockIndex}-${pIndex}`" class="total-pause-time">
- <span
:class="{ 'time-fixed': pauseTime.fixed }"