From 0a7093cba139b269a2e04b38040ca35c944aecf2 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Thu, 28 Aug 2025 16:55:53 +0000 Subject: [PATCH] Improve video description display for better user experience Update VideoPage component to conditionally render video descriptions, showing a fallback message when no description is available. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d7424866-83d1-4486-a212-ac12b4c7becf Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/d7424866-83d1-4486-a212-ac12b4c7becf/e6qh6Ss --- client/src/pages/VideoPage.tsx | 6 +++++- server/bunny.ts | 2 ++ server/routes.ts | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index aeb0703..0273fdf 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -315,10 +315,14 @@ export default function VideoPage() { - {currentVideo.description && ( + {currentVideo.description ? (
{currentVideo.description}
Opis videa ni na voljo.
+