From ea9d57cc65fc8cdd7d4f286b0fcfb03edd678b8e Mon Sep 17 00:00:00 2001 From: smanylov Date: Fri, 10 Apr 2026 13:10:22 +0700 Subject: [PATCH] change sortDirection for nitification --- src/app/actions/notificationActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/actions/notificationActions.ts b/src/app/actions/notificationActions.ts index f500f33..2baf35d 100644 --- a/src/app/actions/notificationActions.ts +++ b/src/app/actions/notificationActions.ts @@ -62,7 +62,7 @@ export async function fetchAllNotifications(page: number = 0, size: number = 10) page: page, size: size, sortBy: "createdAt", - sortDirection: "ASC", //DESC, ASC + sortDirection: "DESC", //DESC, ASC types: [], //"SEARCH_RESULT", "MONITORING_RESULT" statuses: ["NEW", "READIED"] //"NEW" }