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