From d8bfd8859e9e9364c36e0e5da318f84ed54b3000 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 4 Mar 2024 23:44:36 -0500 Subject: [PATCH] remove todo --- playlet-lib/src/components/VideoFeed/VideoRowList.bs | 4 +--- playlet-web/src/lib/VideoFeed/VideoListRow.svelte | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/playlet-lib/src/components/VideoFeed/VideoRowList.bs b/playlet-lib/src/components/VideoFeed/VideoRowList.bs index 4dca10df..81a0705e 100644 --- a/playlet-lib/src/components/VideoFeed/VideoRowList.bs +++ b/playlet-lib/src/components/VideoFeed/VideoRowList.bs @@ -12,9 +12,7 @@ import "pkg:/source/utils/Logging.bs" import "pkg:/source/utils/Types.bs" ' TODO:P1 add the option to remove a row if it does not have any content -' E.g. NBC News does not return any related chnanels -' The "Continue Watching" feed source might return nothing. In this case, -' it should be removed. +' E.g. Subscriptions, Watch History and Playlists can be empty function Init() m.pendingLoadTasks = {} end function diff --git a/playlet-web/src/lib/VideoFeed/VideoListRow.svelte b/playlet-web/src/lib/VideoFeed/VideoListRow.svelte index 968c2749..965eed70 100644 --- a/playlet-web/src/lib/VideoFeed/VideoListRow.svelte +++ b/playlet-web/src/lib/VideoFeed/VideoListRow.svelte @@ -257,9 +257,9 @@ } - {#if feedLoadState !== FeedLoadState.Loaded || videos.length !== 0}