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 = () => {