Fix hardcoded FreeTube string on the watch page (#4772)

This commit is contained in:
absidue 2024-03-18 13:20:42 +01:00 committed by GitHub
parent cb5877706e
commit 29d6c87bed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import WatchVideoLiveChat from '../../components/watch-video-live-chat/watch-vid
import WatchVideoPlaylist from '../../components/watch-video-playlist/watch-video-playlist.vue'
import WatchVideoRecommendations from '../../components/watch-video-recommendations/watch-video-recommendations.vue'
import FtAgeRestricted from '../../components/ft-age-restricted/ft-age-restricted.vue'
import packageDetails from '../../../../package.json'
import { pathExists } from '../../helpers/filesystem'
import {
buildVTTFileLocally,
@ -1774,7 +1775,7 @@ export default defineComponent({
},
updateTitle: function () {
document.title = `${this.videoTitle} - FreeTube`
document.title = `${this.videoTitle} - ${packageDetails.productName}`
},
isHiddenVideo: function (forbiddenTitles, channelsHidden, video) {