! Fix handling of video data without published (#4788)
This commit is contained in:
@@ -738,7 +738,7 @@ export function parseLocalListVideo(item) {
|
||||
|
||||
let publishedText
|
||||
|
||||
if (!video.published?.isEmpty()) {
|
||||
if (video.published != null && !video.published.isEmpty()) {
|
||||
publishedText = video.published.text
|
||||
}
|
||||
|
||||
@@ -834,7 +834,7 @@ function parseListItem(item) {
|
||||
export function parseLocalWatchNextVideo(video) {
|
||||
let publishedText
|
||||
|
||||
if (!video.published?.isEmpty()) {
|
||||
if (video.published != null && !video.published.isEmpty()) {
|
||||
publishedText = video.published.text
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user