mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
fixing remote conversation header
This commit is contained in:
parent
417f35e418
commit
cfb040be60
@ -17,7 +17,8 @@ export function getChannelSubjectLogo(cardId, profileGuid, channel, cards, cardI
|
||||
|
||||
const contacts = [];
|
||||
if (cardId) {
|
||||
contacts.push(cardId);
|
||||
const contact = cards.get(cardId)?.card;
|
||||
contacts.push(contact);
|
||||
}
|
||||
if (channel?.detail?.members?.length) {
|
||||
channel.detail.members.forEach(guid => {
|
||||
|
@ -70,7 +70,7 @@ export function useConversation() {
|
||||
|
||||
useEffect(() => {
|
||||
const loaded = conversation.state.loaded;
|
||||
const cardId = conversation.state.card?.cardId;
|
||||
const cardId = conversation.state.card?.card?.cardId;
|
||||
const profileGuid = profile.state.identity?.guid;
|
||||
const channel = conversation.state.channel;
|
||||
const cards = card.state.cards;
|
||||
|
Loading…
Reference in New Issue
Block a user