diff --git a/src/components/FolderView.tsx b/src/components/FolderView.tsx index 15757b86a..5d3039389 100644 --- a/src/components/FolderView.tsx +++ b/src/components/FolderView.tsx @@ -36,6 +36,23 @@ export const FolderView = ({ currentfilter, ); + if (filteredCourseContent?.length === 0) { + const filterMessages: Record = { + watched: "You haven't completed any content in this section yet.", + watching: "No content currently in progress.", + unwatched: "No new content available to watch.", + all: "No content available in this section.", + }; + + return ( +
+
+ {filterMessages[currentfilter] || "No content found."} +
+
+ ); + } + return (