From 2249e113d0e1c974b4d3d63a5fdffc0b73647efe Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 2 Oct 2020 13:55:02 +0200 Subject: [PATCH] Added additional check whether the publishedText of a list video element is null. Fixes the problem for topic videos. --- src/renderer/components/ft-list-video/ft-list-video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ft-list-video/ft-list-video.js b/src/renderer/components/ft-list-video/ft-list-video.js index ef02b6cb5..1d56ae5d9 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.js +++ b/src/renderer/components/ft-list-video/ft-list-video.js @@ -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,