-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[NoQA] Use correct variable name after renaming #62416
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
Conversation
@srikarparsi Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@@ -7451,7 +7451,7 @@ function isEmptyReport(report: OnyxEntry<Report>): boolean { | |||
} | |||
|
|||
// Get the `isEmpty` state from cached report attributes | |||
const attributes = reportAttributes?.[report.reportID]; | |||
const attributes = reportAttributesDerivedValue?.[report.reportID]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was renamed here but this spot was added in another PR https://github.com/Expensify/App/pull/61586/files#diff-577fcc5f3a5e4930916ff310e61c38edfa093792fe3ab55b9a30d2aecd8811dbR1061
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.1.48-0 🚀
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.1.48-0 🚀
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.1.49-5 🚀
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.1.50-0 🚀
|
Explanation of Change
There was a new PR that added a reportAttribute usecase in ReportUtils, but since there were no conflicts, the merge was not blocked. We just need to update the name of the variable to new name used in here #61586 (comment)
Fixed Issues
Follow up to #61586 (comment)
PROPOSAL:
Tests
Make sure the app works locally
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop