Skip to content

Commit

Permalink
Merge pull request #29530 from dukenv0307/fix/27546
Browse files Browse the repository at this point in the history
fix: Emojis, emoji picker icon, and edit icon are disappeared when hovering over notification from completed task
  • Loading branch information
lakchote authored Oct 16, 2023
2 parents e38b53f + 0998012 commit 63af51e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3596,7 +3596,8 @@ function shouldDisableWriteActions(report) {
* @returns {String}
*/
function getOriginalReportID(reportID, reportAction) {
return isThreadFirstChat(reportAction, reportID) ? lodashGet(allReports, [`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, 'parentReportID']) : reportID;
const currentReportAction = ReportActionsUtils.getReportAction(reportID, reportAction.reportActionID);
return isThreadFirstChat(reportAction, reportID) && _.isEmpty(currentReportAction) ? lodashGet(allReports, [`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, 'parentReportID']) : reportID;
}

/**
Expand Down

0 comments on commit 63af51e

Please sign in to comment.