hark-update: fixing desk check

This commit is contained in:
Hunter Miller 2022-01-11 19:30:53 -06:00
parent 6528fece41
commit 5fba433415

View File

@ -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);