From b9cec46090fcc17a2eb77e7088cba880935b0f0f Mon Sep 17 00:00:00 2001 From: Danut Gavrus Date: Wed, 23 Aug 2023 09:55:59 +0300 Subject: [PATCH] [24231] Fixed completed task in english instead of spanish. --- src/libs/SidebarUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/SidebarUtils.js b/src/libs/SidebarUtils.js index 56cf17a3fb47..adce2e9c90b3 100644 --- a/src/libs/SidebarUtils.js +++ b/src/libs/SidebarUtils.js @@ -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); },