mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
messages: always mono for DM recipients, show description
fixes urbit/landscape#623
This commit is contained in:
parent
16311deee3
commit
1f6a216f28
@ -144,7 +144,7 @@ export function ResourceSkeleton(props: ResourceSkeletonProps): ReactElement {
|
||||
const Description = () => (
|
||||
<TruncatedText
|
||||
display={['none','inline']}
|
||||
mono={workspace === '/messages' && !urbitOb.isValidPatp(title)}
|
||||
mono={workspace === '/messages' && !association?.metadata?.description}
|
||||
color='gray'
|
||||
mb={0}
|
||||
minWidth={0}
|
||||
@ -152,7 +152,7 @@ export function ResourceSkeleton(props: ResourceSkeletonProps): ReactElement {
|
||||
flexShrink={1}
|
||||
disableRemoteContent
|
||||
>
|
||||
{workspace === '/messages'
|
||||
{workspace === '/messages' && !association?.metadata?.description
|
||||
? recipient
|
||||
: association?.metadata?.description}
|
||||
</TruncatedText>
|
||||
|
Loading…
Reference in New Issue
Block a user