diff --git a/pkg/interface/groups/src/js/components/lib/contact-sidebar.js b/pkg/interface/groups/src/js/components/lib/contact-sidebar.js index b5ccd849f..67067aa03 100644 --- a/pkg/interface/groups/src/js/components/lib/contact-sidebar.js +++ b/pkg/interface/groups/src/js/components/lib/contact-sidebar.js @@ -20,8 +20,11 @@ export class ContactSidebar extends Component { let responsiveClasses = props.activeDrawer === "contacts" ? "db" : "dn db-ns"; - let me = (window.ship in props.defaultContacts) ? - props.defaultContacts[window.ship] : { color: '0x0', nickname: null}; + let me = (window.ship in props.contacts) + ? props.contacts[window.ship] + : (window.ship in props.defaultContacts) + ? props.defaultContacts[window.ship] + : { color: '0x0', nickname: null }; let shareSheet = !(window.ship in props.contacts) ? @@ -32,11 +35,23 @@ export class ContactSidebar extends Component { path={props.path} selected={props.path + "/" + window.ship === props.selectedContact} /> - ) : (
); + ) : ( + <> +