mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Add title to channel page.
This commit is contained in:
		
							parent
							
								
									5c58a6bec5
								
							
						
					
					
						commit
						e229c714ed
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -39,6 +39,7 @@ export default {
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        async getChannelData() {
 | 
					        async getChannelData() {
 | 
				
			||||||
            this.fetchChannel().then(data => this.channel = data)
 | 
					            this.fetchChannel().then(data => this.channel = data)
 | 
				
			||||||
 | 
					                .then(() => document.title = this.channel.name + " - Piped")
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        timeFormat(duration) {
 | 
					        timeFormat(duration) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue