Skip to content

Commit

Permalink
Update src/libs/migrations/PersonalDetailsByAccountID.js
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Beaman <alexbeaman@expensify.com>
  • Loading branch information
puneetlath and Beamanator authored Jun 26, 2023
1 parent 0eb83f4 commit d5ed78f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/migrations/PersonalDetailsByAccountID.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ export default function () {
newReportActionsForReport[reportActionID] = newReportAction;
});

// Only include the reportActions from this report if they were modified in any way
// Only include the reportActions from this report if at least one reportAction in this report
// was modified in any way.
if (reportActionsWereModified) {
onyxData[onyxKey] = newReportActionsForReport;
}
Expand Down

0 comments on commit d5ed78f

Please sign in to comment.