mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
fix for card channel topics not saving unsealed message
This commit is contained in:
parent
acc846c88f
commit
43655bc416
@ -620,7 +620,7 @@ export function useCardContext() {
|
||||
},
|
||||
setChannelTopicUnsealedDetail: async (cardId, channelId, topicId, revision, unsealed) => {
|
||||
const { guid } = session.current;
|
||||
await store.actions.setCardChannelTopicItemUnsealedDetail(guid, cardId, channelId, revision, unsealed);
|
||||
await store.actions.setCardChannelTopicItemUnsealedDetail(guid, cardId, channelId, topicId, revision, unsealed);
|
||||
},
|
||||
removeChannel: async (cardId, channelId) => {
|
||||
const { detail, profile } = getCardEntry(cardId);
|
||||
|
@ -491,7 +491,7 @@ export function useConversationContext() {
|
||||
|
||||
const { cardId, channelId } = conversationId.current;
|
||||
if (cardId) {
|
||||
await card.actions.setChannelTopicUnsealedDetail(cardId, channelId, topic.topicId, topic.detailRevision, topic.unsealedDetial);
|
||||
await card.actions.setChannelTopicUnsealedDetail(cardId, channelId, topic.topicId, topic.detailRevision, topic.unsealedDetail);
|
||||
}
|
||||
else {
|
||||
await channel.actions.setTopicUnsealedDetail(channelId, topic.topicId, topic.detailRevision, topic.unsealedDetail);
|
||||
|
Loading…
Reference in New Issue
Block a user