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
All checks were successful
Deploy production / deploy (push) Successful in 44s
This commit is contained in:
@@ -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">
|
||||
|
||||
</div>
|
||||
<div v-for="(pauseTime, pIndex) in block.pauseTimes" :key="`${blockIndex}-${pIndex}`" class="total-pause-time">
|
||||
- <span
|
||||
:class="{ 'time-fixed': pauseTime.fixed }"
|
||||
|
||||
Reference in New Issue
Block a user