From 51765616419dc081f6a55fc014a69c8fe3b26e91 Mon Sep 17 00:00:00 2001 From: Andrey Mikhadyuk Date: Tue, 24 Oct 2023 12:12:18 +0300 Subject: [PATCH] add logs for common sorting --- .../saga/fetchBreadcrumbsItemsByCommonId.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/states/multipleSpacesLayout/saga/fetchBreadcrumbsItemsByCommonId.ts b/src/store/states/multipleSpacesLayout/saga/fetchBreadcrumbsItemsByCommonId.ts index ea01e5e933..53e6b3f16d 100644 --- a/src/store/states/multipleSpacesLayout/saga/fetchBreadcrumbsItemsByCommonId.ts +++ b/src/store/states/multipleSpacesLayout/saga/fetchBreadcrumbsItemsByCommonId.ts @@ -103,6 +103,8 @@ export function* fetchBreadcrumbsItemsByCommonId( commonId, user?.uid, )) as Awaited>; + console.log(projectsInfo.map((c) => c)); + console.log(projectsInfo.map((c) => c.common.updatedAt)); const projectsData: ProjectsStateItem[] = [...projectsInfo] .sort((prevItem, nextItem) => compareCommonsByLastActivity(prevItem.common, nextItem.common),