Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Oct 24, 2023
1 parent 2179169 commit c8286e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/migrations/KeyReportActionsDraftByReportActionID.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export default function () {
const reportActionID = onyxKey.split('_').pop();
const newOnyxKey = onyxKey.replace(`_${reportActionID}`, '');
newReportActionsDrafts[newOnyxKey] = {
...(newReportActionsDrafts[newOnyxKey]
...(newReportActionsDrafts[newOnyxKey] ||
// Includes the existing migrated draft
|| allReportActionsDrafts[newOnyxKey]),
allReportActionsDrafts[newOnyxKey]),
[reportActionID]: reportActionDraft,
};
});
Expand Down

0 comments on commit c8286e8

Please sign in to comment.