mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Add proper support for channel handles
This commit is contained in:
		
							parent
							
								
									323407d4d3
								
							
						
					
					
						commit
						961d233dd5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -146,7 +146,7 @@ export default {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        async fetchChannel() {
 | 
					        async fetchChannel() {
 | 
				
			||||||
            const url = this.$route.path.includes("@")
 | 
					            const url = this.$route.path.includes("@")
 | 
				
			||||||
                ? this.apiUrl() + "/c/" + this.$route.params.channelId
 | 
					                ? this.apiUrl() + "/@/" + this.$route.params.channelId
 | 
				
			||||||
                : this.apiUrl() + "/" + this.$route.params.path + "/" + this.$route.params.channelId;
 | 
					                : this.apiUrl() + "/" + this.$route.params.path + "/" + this.$route.params.channelId;
 | 
				
			||||||
            return await this.fetchJson(url);
 | 
					            return await this.fetchJson(url);
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue