mirror of
https://github.com/urbit/shrub.git
synced 2025-01-06 21:18:42 +03:00
hark-update: fixing desk check
This commit is contained in:
parent
6528fece41
commit
5fba433415
@ -242,7 +242,7 @@ function timebox(json: any, state: HarkState): HarkState {
|
|||||||
const time = makePatDa(lid.archive);
|
const time = makePatDa(lid.archive);
|
||||||
const old = state.archive.get(time) || {};
|
const old = state.archive.get(time) || {};
|
||||||
notifications.forEach((note: any) => {
|
notifications.forEach((note: any) => {
|
||||||
if(note.bin.desk !== window.desk) {
|
if(note.bin.place.desk !== window.desk) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const binId = harkBinToId(note.bin);
|
const binId = harkBinToId(note.bin);
|
||||||
@ -252,7 +252,7 @@ function timebox(json: any, state: HarkState): HarkState {
|
|||||||
} else {
|
} else {
|
||||||
const seen = 'seen' in lid ? 'seen' : 'unseen';
|
const seen = 'seen' in lid ? 'seen' : 'unseen';
|
||||||
notifications.forEach((note: any) => {
|
notifications.forEach((note: any) => {
|
||||||
if(note.bin.desk !== window.desk) {
|
if(note.bin.place.desk !== window.desk) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const binId = harkBinToId(note.bin);
|
const binId = harkBinToId(note.bin);
|
||||||
|
Loading…
Reference in New Issue
Block a user