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"
 | 
					            :item="related"
 | 
				
			||||||
            :index="index"
 | 
					            :index="index"
 | 
				
			||||||
            :playlist-id="playlistId"
 | 
					            :playlist-id="playlistId"
 | 
				
			||||||
 | 
					            :prefer-listen="preferListen"
 | 
				
			||||||
            height="94"
 | 
					            height="94"
 | 
				
			||||||
            width="168"
 | 
					            width="168"
 | 
				
			||||||
        />
 | 
					        />
 | 
				
			||||||
| 
						 | 
					@ -15,6 +16,7 @@
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import { nextTick } from "vue";
 | 
					import { nextTick } from "vue";
 | 
				
			||||||
import VideoItem from "./VideoItem.vue";
 | 
					import VideoItem from "./VideoItem.vue";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
    components: { VideoItem },
 | 
					    components: { VideoItem },
 | 
				
			||||||
    props: {
 | 
					    props: {
 | 
				
			||||||
| 
						 | 
					@ -30,6 +32,10 @@ export default {
 | 
				
			||||||
            type: Number,
 | 
					            type: Number,
 | 
				
			||||||
            required: true,
 | 
					            required: true,
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        preferListen: {
 | 
				
			||||||
 | 
					            type: Boolean,
 | 
				
			||||||
 | 
					            default: false,
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    watch: {
 | 
					    watch: {
 | 
				
			||||||
        playlist: {
 | 
					        playlist: {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue