From ee2caaecdf2da49c7f903a7b68fe4d55825bb5e7 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Thu, 19 Dec 2024 11:46:36 +0100 Subject: [PATCH] fix: today's notes not being sortable --- src/app/features/note/store/note.reducer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/features/note/store/note.reducer.ts b/src/app/features/note/store/note.reducer.ts index b3accd29fc..67d45faa07 100644 --- a/src/app/features/note/store/note.reducer.ts +++ b/src/app/features/note/store/note.reducer.ts @@ -83,7 +83,8 @@ const _reducer = createReducer( activeContextType !== WorkContextType.PROJECT ? { ...state, - noteIds: ids, + todayOrder: ids, + // ids: unique([...ids, ...state.ids]), } : state, ),