Set default content type for videos to music_video
Update the EditVideoDialog component in the admin page to default the contentType to "music_video" when it is not provided. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/n7jzC7R
This commit is contained in:
parent
19e957153f
commit
98df8d8deb
@ -227,7 +227,7 @@ function EditVideoDialog({
|
||||
episodeNumber: video.episodeNumber || "",
|
||||
episodeTitle: video.episodeTitle || "",
|
||||
tags: video.tags || [],
|
||||
contentType: video.contentType,
|
||||
contentType: video.contentType || "music_video",
|
||||
genre: video.genre,
|
||||
customThumbnailUrl: video.customThumbnailUrl || "",
|
||||
isPublic: video.isPublic !== undefined ? video.isPublic : true,
|
||||
@ -243,7 +243,7 @@ function EditVideoDialog({
|
||||
episodeNumber: video.episodeNumber || "",
|
||||
episodeTitle: video.episodeTitle || "",
|
||||
tags: video.tags || [],
|
||||
contentType: video.contentType,
|
||||
contentType: video.contentType || "music_video",
|
||||
genre: video.genre,
|
||||
customThumbnailUrl: video.customThumbnailUrl || "",
|
||||
isPublic: video.isPublic !== undefined ? video.isPublic : true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user