|
@@ -42,7 +42,7 @@ const EditTitleCoverModal: React.FC<EditTitleCoverModalProps> = ({ visible, onCa
|
|
|
useEffect(() => {
|
|
|
if (video && visible) {
|
|
|
// Reset form based on incoming video data
|
|
|
- const hasCustomTitle = !isNil(video.customTitle) || video.customTitle === '';
|
|
|
+ const hasCustomTitle = video.customTitle && video.customTitle !== '';
|
|
|
const isCustomCover = video.customCoverType === 1 || video.customCoverType === 2;
|
|
|
const isScreenshotCover = video.customCoverType === 1;
|
|
|
|