Skip to content

Commit

Permalink
fix: Emojis, emoji picker icon, and edit icon are disappeared when ho…
Browse files Browse the repository at this point in the history
…vering over notification from completed task
  • Loading branch information
dukenv0307 committed Oct 13, 2023
1 parent bbbfc9c commit 0998012
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 @@ -3569,7 +3569,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 0998012

Please sign in to comment.