Merge pull request #542 from GilgusMaximus/topic-publishtext

Fix wrong published text display on topic videos
This commit is contained in:
Luca Hohmann 2020-10-02 14:10:05 +02:00 committed by GitHub
commit 0c852d4847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ export default Vue.extend({
this.isLive = this.data.liveNow
this.viewCount = this.data.viewCount
if (typeof (this.data.publishedText) !== 'undefined' && !this.isLive) {
if (typeof (this.data.publishedText) !== 'undefined' && this.data.publishedText !== null && !this.isLive) {
// produces a string according to the template in the locales string
this.toLocalePublicationString({
publishText: this.data.publishedText,