From 5fba43341518c1763ea14b02ea790daa3d9f93fb Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Tue, 11 Jan 2022 19:30:53 -0600 Subject: [PATCH] hark-update: fixing desk check --- pkg/interface/src/logic/reducers/hark-update.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/logic/reducers/hark-update.ts b/pkg/interface/src/logic/reducers/hark-update.ts index 4ba01b3b9a..94e12a34f1 100644 --- a/pkg/interface/src/logic/reducers/hark-update.ts +++ b/pkg/interface/src/logic/reducers/hark-update.ts @@ -242,7 +242,7 @@ function timebox(json: any, state: HarkState): HarkState { const time = makePatDa(lid.archive); const old = state.archive.get(time) || {}; notifications.forEach((note: any) => { - if(note.bin.desk !== window.desk) { + if(note.bin.place.desk !== window.desk) { return; } const binId = harkBinToId(note.bin); @@ -252,7 +252,7 @@ function timebox(json: any, state: HarkState): HarkState { } else { const seen = 'seen' in lid ? 'seen' : 'unseen'; notifications.forEach((note: any) => { - if(note.bin.desk !== window.desk) { + if(note.bin.place.desk !== window.desk) { return; } const binId = harkBinToId(note.bin);