From 6dd4e8795ad1429e4218c21b0b6ce2dc2a942050 Mon Sep 17 00:00:00 2001 From: hkirat Date: Thu, 28 Nov 2024 22:41:41 +0530 Subject: [PATCH] Update --- src/components/AppxVideoPlayer.tsx | 1 + src/components/CourseView.tsx | 3 ++- src/components/admin/ContentRenderer.tsx | 2 +- src/components/admin/ContentRendererClient.tsx | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/AppxVideoPlayer.tsx b/src/components/AppxVideoPlayer.tsx index 573400db7..d2b5c0082 100644 --- a/src/components/AppxVideoPlayer.tsx +++ b/src/components/AppxVideoPlayer.tsx @@ -39,3 +39,4 @@ export const AppxVideoPlayer = ({ return ; }; + diff --git a/src/components/CourseView.tsx b/src/components/CourseView.tsx index 2924e5d20..30094a0db 100644 --- a/src/components/CourseView.tsx +++ b/src/components/CourseView.tsx @@ -37,6 +37,7 @@ export const CourseView = ({ const contentType = courseContent?.folder ? 'folder' : courseContent?.value.type; + return (
@@ -53,7 +54,7 @@ export const CourseView = ({ ) : null} - {!courseContent?.folder && contentType === 'video' ? ( + {!courseContent?.folder && (contentType === 'video' || contentType === 'appx') ? (