Skip to content

Commit

Permalink
CW-mention-streams
Browse files Browse the repository at this point in the history
Fix internalClick
  • Loading branch information
MeyerPV committed Dec 11, 2024
1 parent 77f5551 commit 66f2c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/commonFeed/components/FeedLayout/FeedLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ const FeedLayout: ForwardRefRenderFunction<FeedLayoutRef, FeedLayoutProps> = (
const messageId = data.params[QueryParamKey.Message];

if(discussionItemId) {
const feedItem = allFeedItems.find((item) => (item as FeedItemFollowLayoutItem)?.feedItem?.data.id === discussionItemId);
const feedItem = allFeedItems.find((item) => (item as FeedItemFollowLayoutItem)?.feedItem?.data.id === discussionItemId || (item as FeedItemFollowLayoutItem)?.feedItem?.id === itemId);
const feedItemId = feedItem?.itemId;
if(feedItemId) {
handleFeedItemClick(feedItemId, {
Expand Down

0 comments on commit 66f2c55

Please sign in to comment.