From 8e4485f1b4b5ba6bf66592507846b8ef7cd6350d Mon Sep 17 00:00:00 2001 From: Elena Makarova Date: Thu, 13 Nov 2025 15:26:47 +0300 Subject: [PATCH] fix(Healthcheck): sort issues --- src/store/reducers/healthcheckInfo/healthcheckInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/reducers/healthcheckInfo/healthcheckInfo.ts b/src/store/reducers/healthcheckInfo/healthcheckInfo.ts index 97172280c0..1b7b8d8458 100644 --- a/src/store/reducers/healthcheckInfo/healthcheckInfo.ts +++ b/src/store/reducers/healthcheckInfo/healthcheckInfo.ts @@ -78,7 +78,7 @@ const selectIssuesTreesRoots = createSelector(getIssuesLog, (issues = []) => get export const selectLeavesIssues = createSelector( [getIssuesLog, selectIssuesTreesRoots], (data = [], roots = []) => { - return roots.map((root) => getLeavesFromTree(data, root)).flat(); + return roots.map((root) => sortIssues(getLeavesFromTree(data, root))).flat(); }, );