Skip to content

Commit

Permalink
Merge pull request #25743 from DanutGavrus/fix/24231-completed-task-t…
Browse files Browse the repository at this point in the history
…ranslation

[24231] Fixed completed task in English instead of Spanish.
  • Loading branch information
Hayata Suenaga authored Aug 24, 2023
2 parents b0c43dc + 0a3c042 commit 86f1cf7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libs/SidebarUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ Onyx.connect({
// does not match a closed or created state.
const reportActionsForDisplay = _.filter(
actionsArray,
(reportAction, actionKey) => ReportActionsUtils.shouldReportActionBeVisible(reportAction, actionKey) && reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.CREATED,
(reportAction, actionKey) =>
ReportActionsUtils.shouldReportActionBeVisible(reportAction, actionKey) &&
reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.CREATED &&
reportAction.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE,
);
visibleReportActionItems[reportID] = _.last(reportActionsForDisplay);
},
Expand Down

0 comments on commit 86f1cf7

Please sign in to comment.