Skip to content

Commit

Permalink
[24231] Fixed completed task in english instead of spanish.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanutGavrus committed Aug 23, 2023
1 parent 4f412db commit b9cec46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/SidebarUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ 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 b9cec46

Please sign in to comment.