fix: preview case sensitive file extension
							parent
							
								
									2bd163d92a
								
							
						
					
					
						commit
						05bff54b71
					
				| 
						 | 
				
			
			@ -52,7 +52,7 @@
 | 
			
		|||
          but don't worry, you can <a :href="download">download it</a>
 | 
			
		||||
          and watch it with your favorite video player!
 | 
			
		||||
        </video>
 | 
			
		||||
        <object v-else-if="req.extension == '.pdf'" class="pdf" :data="raw"></object>
 | 
			
		||||
        <object v-else-if="req.extension.toLowerCase() == '.pdf'" class="pdf" :data="raw"></object>
 | 
			
		||||
        <a v-else-if="req.type == 'blob'" :href="download">
 | 
			
		||||
          <h2 class="message">{{ $t('buttons.download') }} <i class="material-icons">file_download</i></h2>
 | 
			
		||||
        </a>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue