mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +03:00
permalinks: present error for unavailable references
This commit is contained in:
parent
4024707b5a
commit
9a5836baf4
@ -111,9 +111,9 @@ function GraphPermalink(
|
||||
bg="white"
|
||||
maxWidth={full ? null : "500px"}
|
||||
border={full ? null : "1"}
|
||||
borderColor='lightGray'
|
||||
borderColor="lightGray"
|
||||
borderRadius="2"
|
||||
cursor='pointer'
|
||||
cursor="pointer"
|
||||
onClick={(e) => {
|
||||
navigate(e);
|
||||
}}
|
||||
@ -127,6 +127,17 @@ function GraphPermalink(
|
||||
showOurContact={showOurContact}
|
||||
/>
|
||||
)}
|
||||
{!showTransclusion && (
|
||||
<Box
|
||||
mx="12px"
|
||||
mt="12px"
|
||||
p="2"
|
||||
backgroundColor="washedGray"
|
||||
borderRadius="2"
|
||||
>
|
||||
<Text gray>This reference is unavailable.</Text>
|
||||
</Box>
|
||||
)}
|
||||
{association ? (
|
||||
<PermalinkDetails
|
||||
known
|
||||
|
Loading…
Reference in New Issue
Block a user