From 5cd9e2165521f0a59862be1d0830c60d480cf300 Mon Sep 17 00:00:00 2001 From: Sebastian Tilsch Date: Wed, 3 Apr 2024 21:05:28 +0200 Subject: [PATCH] mini fix --- .../exhibition-live/components/form/lobid/LobidAllPropTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/exhibition-live/components/form/lobid/LobidAllPropTable.tsx b/apps/exhibition-live/components/form/lobid/LobidAllPropTable.tsx index 918c5baf..8b6abaf8 100644 --- a/apps/exhibition-live/components/form/lobid/LobidAllPropTable.tsx +++ b/apps/exhibition-live/components/form/lobid/LobidAllPropTable.tsx @@ -84,7 +84,7 @@ const LabledLink = ({ }; const isImageUrl = (url: string) => { - return url.match(/\.(jpeg|jpg|gif|png)?\?.*$/) != null; + return url.match(/\.(jpeg|jpg|gif|png)(\?.*)?$/) != null; }; const useMenuState = () => {