Skip to content

Commit

Permalink
Do not try to format embed URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ridoo committed Dec 3, 2024
1 parent b01dca6 commit c801ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/js/utils/ResourceUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export const getResourceTypesInfo = () => ({
icon: 'link',
name: 'ExternalApplication',
canPreviewed: (resource) => resourceHasPermission(resource, 'view_resourcebase'),
formatEmbedUrl: (resource) => resource?.embed_url && parseDevHostname(resource.embed_url),
formatEmbedUrl: () => false,
formatDetailUrl: (resource) => resource?.detail_url && parseDevHostname(resource.detail_url),
formatMetadataUrl: (resource) => resource.url
},
Expand Down

0 comments on commit c801ab5

Please sign in to comment.