mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-19 15:25:23 +00:00
Dont allow clicking the wildcard resource link
This commit is contained in:
@@ -40,10 +40,14 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
|
|||||||
<InfoSection>
|
<InfoSection>
|
||||||
<InfoSectionTitle>URL</InfoSectionTitle>
|
<InfoSectionTitle>URL</InfoSectionTitle>
|
||||||
<InfoSectionContent>
|
<InfoSectionContent>
|
||||||
<CopyToClipboard
|
{resource.wildcard ? (
|
||||||
text={fullUrl}
|
<span>{fullUrl}</span>
|
||||||
isLink={true}
|
) : (
|
||||||
/>
|
<CopyToClipboard
|
||||||
|
text={fullUrl}
|
||||||
|
isLink={true}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</InfoSectionContent>
|
</InfoSectionContent>
|
||||||
</InfoSection>
|
</InfoSection>
|
||||||
<InfoSection>
|
<InfoSection>
|
||||||
|
|||||||
Reference in New Issue
Block a user