diff --git a/attached_assets/image_1756820470854.png b/attached_assets/image_1756820470854.png new file mode 100644 index 0000000..7f929b5 Binary files /dev/null and b/attached_assets/image_1756820470854.png differ diff --git a/client/src/pages/admin.tsx b/client/src/pages/admin.tsx index 51404ce..02ef92c 100644 --- a/client/src/pages/admin.tsx +++ b/client/src/pages/admin.tsx @@ -165,7 +165,16 @@ function VideoManagement({ className="w-24 h-16 object-cover rounded" />
-

{video.title}

+
+

{video.title}

+ + {video.isPublic ? 'Published' : 'Draft'} + +

{video.description}

@@ -221,6 +230,7 @@ function EditVideoDialog({ contentType: video.contentType, genre: video.genre, customThumbnailUrl: video.customThumbnailUrl || "", + isPublic: video.isPublic !== undefined ? video.isPublic : true, }); // Update form data when video prop changes @@ -236,6 +246,7 @@ function EditVideoDialog({ contentType: video.contentType, genre: video.genre, customThumbnailUrl: video.customThumbnailUrl || "", + isPublic: video.isPublic !== undefined ? video.isPublic : true, }); }, [video]); const [isGeneratingAI, setIsGeneratingAI] = useState(false); @@ -494,7 +505,7 @@ function EditVideoDialog({
-
+
+ +
+ + +