mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	remove unnecessary double if statement
This commit is contained in:
		
							parent
							
								
									ed8bb4846a
								
							
						
					
					
						commit
						e0e195c7c8
					
				
					 1 changed files with 7 additions and 5 deletions
				
			
		| 
						 | 
					@ -148,11 +148,13 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <!-- eslint-disable-next-line vue/no-v-html -->
 | 
					            <!-- eslint-disable-next-line vue/no-v-html -->
 | 
				
			||||||
            <div v-show="showDesc" class="break-words" v-html="purifyHTML(video.description)" />
 | 
					            <div v-show="showDesc" class="break-words" v-html="purifyHTML(video.description)" />
 | 
				
			||||||
            <div
 | 
					            <template v-if="showDesc">
 | 
				
			||||||
                v-if="showDesc && sponsors && sponsors.segments"
 | 
					                <div
 | 
				
			||||||
                v-text="`${$t('video.sponsor_segments')}: ${sponsors.segments.length}`"
 | 
					                    v-if="sponsors && sponsors.segments"
 | 
				
			||||||
            />
 | 
					                    v-text="`${$t('video.sponsor_segments')}: ${sponsors.segments.length}`"
 | 
				
			||||||
            <div v-if="showDesc && video.category" v-text="`${$t('video.category')}: ${video.category}`" />
 | 
					                />
 | 
				
			||||||
 | 
					                <div v-if="video.category" v-text="`${$t('video.category')}: ${video.category}`" />
 | 
				
			||||||
 | 
					            </template>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <hr />
 | 
					        <hr />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue