From d5ed78f70ed9d7e1f8287f7b7b60480aa4b3de8f Mon Sep 17 00:00:00 2001 From: Puneet Lath Date: Mon, 26 Jun 2023 17:15:32 +0200 Subject: [PATCH] Update src/libs/migrations/PersonalDetailsByAccountID.js Co-authored-by: Alex Beaman --- src/libs/migrations/PersonalDetailsByAccountID.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/migrations/PersonalDetailsByAccountID.js b/src/libs/migrations/PersonalDetailsByAccountID.js index 02016d888117..0fd8b84c8fb1 100644 --- a/src/libs/migrations/PersonalDetailsByAccountID.js +++ b/src/libs/migrations/PersonalDetailsByAccountID.js @@ -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; }