We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c4b9f5 commit e2df1a7Copy full SHA for e2df1a7
components/tables/ChaptersTable.vue
@@ -15,6 +15,7 @@
15
<tr>
16
<th class="text-left">{{ $strings.LabelTitle }}</th>
17
<th class="text-center w-16">{{ $strings.LabelStart }}</th>
18
+ <th class="text-center w-16">{{ $strings.LabelDuration }}</th>
19
</tr>
20
<tr v-for="chapter in chapters" :key="chapter.id">
21
<td>
@@ -23,6 +24,9 @@
23
24
<td class="font-mono text-center underline w-16" @click.stop="goToTimestamp(chapter.start)">
25
{{ $secondsToTimestamp(chapter.start) }}
26
</td>
27
+ <td class="font-mono text-center">
28
+ {{ $secondsToTimestamp(Math.max(0, chapter.end - chapter.start)) }}
29
+ </td>
30
31
</table>
32
</transition>
0 commit comments