mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
add preferListen prop to PlaylistVideos.vue
This commit is contained in:
parent
a1c8529503
commit
34448f7e66
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
:item="related"
|
||||
:index="index"
|
||||
:playlist-id="playlistId"
|
||||
:prefer-listen="preferListen"
|
||||
height="94"
|
||||
width="168"
|
||||
/>
|
||||
|
@ -15,6 +16,7 @@
|
|||
<script>
|
||||
import { nextTick } from "vue";
|
||||
import VideoItem from "./VideoItem.vue";
|
||||
|
||||
export default {
|
||||
components: { VideoItem },
|
||||
props: {
|
||||
|
@ -30,6 +32,10 @@ export default {
|
|||
type: Number,
|
||||
required: true,
|
||||
},
|
||||
preferListen: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
playlist: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue