1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30

Add title to channel page.

This commit is contained in:
FireMasterK 2020-11-15 14:08:43 +05:30
parent 5c58a6bec5
commit e229c714ed

View File

@ -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) {