From 858bea1952bec872884d6fb97fec1a2489a3487d Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 24 Mar 2026 22:00:08 +0100 Subject: [PATCH] Make file name clickable as link in place inspector --- client/src/components/Planner/PlaceInspector.jsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/client/src/components/Planner/PlaceInspector.jsx b/client/src/components/Planner/PlaceInspector.jsx index f5b312d..da8ba65 100644 --- a/client/src/components/Planner/PlaceInspector.jsx +++ b/client/src/components/Planner/PlaceInspector.jsx @@ -400,19 +400,11 @@ export default function PlaceInspector({ {filesExpanded && placeFiles.length > 0 && (
{placeFiles.map(f => ( -
+ {(f.mime_type || '').startsWith('image/') ? : } {f.original_name} {f.file_size && {formatFileSize(f.file_size)}} - - - -
+ ))}
)}