mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	fix: crash when DeArrow is disabled
This commit is contained in:
		
							parent
							
								
									f47d6140ce
								
							
						
					
					
						commit
						84f38da40c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -543,7 +543,7 @@ const mixin = {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        fetchDeArrowContent(videoIds) {
 | 
					        fetchDeArrowContent(videoIds) {
 | 
				
			||||||
            if (!this.getPreferenceBoolean("dearrow", false)) return {};
 | 
					            if (!this.getPreferenceBoolean("dearrow", false)) return new Promise(resolve => resolve({}));
 | 
				
			||||||
            return this.fetchJson(this.apiUrl() + "/dearrow", {
 | 
					            return this.fetchJson(this.apiUrl() + "/dearrow", {
 | 
				
			||||||
                videoIds: videoIds.join(","),
 | 
					                videoIds: videoIds.join(","),
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue