Skip to content

Commit

Permalink
Merge pull request #35805 from ZhenjaHorbach/chat-message-draft-creat…
Browse files Browse the repository at this point in the history
…ed-offline-disappears

Fix bug with Chat – Message draft disappears after refresh
  • Loading branch information
madmax330 authored Feb 9, 2024
2 parents a1ad9c0 + 4b08088 commit c98b495
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,14 @@ function ComposerWithSuggestions({
resetKeyboardInput={resetKeyboardInput}
/>

<SilentCommentUpdater
reportID={reportID}
value={value}
updateComment={updateComment}
commentRef={commentRef}
/>
{ReportUtils.isValidReportIDFromPath(reportID) && (
<SilentCommentUpdater
reportID={reportID}
value={value}
updateComment={updateComment}
commentRef={commentRef}
/>
)}

{/* Only used for testing so far */}
{children}
Expand Down

0 comments on commit c98b495

Please sign in to comment.