mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +03:00
parent
6b00c9864e
commit
8b99611910
@ -385,7 +385,8 @@ export class ChatScreen extends Component<ChatScreenProps, ChatScreenState> {
|
||||
paddingTop={paddingTop}
|
||||
paddingBot={paddingBot}
|
||||
pending={Boolean(msg.pending)}
|
||||
group={props.association}
|
||||
group={props.group}
|
||||
association={props.association}
|
||||
/>
|
||||
);
|
||||
if (unread > 0 && i === unread - 1) {
|
||||
|
@ -54,7 +54,7 @@ export class ProfileOverlay extends Component {
|
||||
? '/~groups/me'
|
||||
: `/~groups/view${association['group-path']}/${window.ship}`;
|
||||
|
||||
const img = (contact && (contact.avatar !== null))
|
||||
let img = (contact && (contact.avatar !== null))
|
||||
? <img src={contact.avatar} height={160} width={160} className="brt2 dib" />
|
||||
: <Sigil
|
||||
ship={ship}
|
||||
@ -64,6 +64,10 @@ export class ProfileOverlay extends Component {
|
||||
svgClass="brt2"
|
||||
/>;
|
||||
|
||||
if (!group.hidden) {
|
||||
img = <Link to={`/~groups/view${association['group-path']}/${ship}`}>{img}</Link>;
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
ref={this.popoverRef}
|
||||
|
Loading…
Reference in New Issue
Block a user