Repository navigation
83369 migrate reports core part 4 #90682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c4e8b9e
94de28d
8330650
34f8fe8
de12084
0758b20
e842dec
22f591c
831c3a0
7c94c70
a07d927
56054d8
bd544a0
5eee6bd
f2c4130
dd97b72
74bcfdc
92b1ba8
19afdcc
30b78d6
a880b53
2555c47
3f41023
e27a9b3
cf0265d
f584ec9
854512d
3e4c429
24d07d8
ac441f7
721416b
524abdf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -450,7 +450,7 @@ function MoneyRequestReportActionsList({onLayout}: MoneyRequestReportListProps) | |||
| hasNewestReportAction, | ||||
| setIsFloatingMessageCounterVisible, | ||||
| scrollToEnd: reportScrollManager.scrollToEnd, | ||||
| resetKey: report.reportID, | ||||
| resetKey: report?.reportID ?? reportIDFromRoute ?? '', | ||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason we had to change this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While testing, I found an app crash caused by resetKey being undefined due to report?.reportID. We should add a fallback: if report?.reportID is unavailable, then use reportIDFromRoute or '' like
|
||||
| }); | ||||
|
|
||||
| /** | ||||
|
|
||||
Uh oh!
There was an error while loading. Please reload this page.