1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30

Fix error on rendering chapters.

This commit is contained in:
Kavin 2022-06-02 04:29:16 +01:00
parent 5e47758bb0
commit f149ac95bb
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -1,6 +1,6 @@
<template>
<h2 v-t="'video.chapters'" />
<div :key="chapter.start" v-for="chapter in props.chapters" @click="$emit('seek', chapter.start)" class="chapter">
<div :key="chapter.start" v-for="chapter in chapters" @click="$emit('seek', chapter.start)" class="chapter">
<img :src="chapter.image" :alt="chapter.title" class="h-12" />
<div class="ml-1">
<span class="text-xl" v-text="chapter.title" />