mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
Update pkg/interface/src/apps/chat/components/lib/chat-header.js
Co-authored-by: Liam Fitzgerald <46801558+liam-fitzgerald@users.noreply.github.com>
This commit is contained in:
parent
864354546a
commit
0c0fbeda27
@ -13,11 +13,10 @@ export class ChatHeader extends Component {
|
||||
const isinPopout = props.popout ? "popout/" : "";
|
||||
const group = Array.from(props.group.members);
|
||||
let title = props.station.substr(1);
|
||||
if (props.association && "metadata" in props.association) {
|
||||
title =
|
||||
props.association.metadata.title !== ""
|
||||
? props.association.metadata.title
|
||||
: props.station.substr(1);
|
||||
if (props.association &&
|
||||
"metadata" in props.association &&
|
||||
props.association.metadata.tile !== "") {
|
||||
title = props.association.metadata.title
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user