mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
SidebarList: fix sorting
This commit is contained in:
parent
f8d56a86c4
commit
fac22be28a
@ -28,8 +28,8 @@ function sidebarSort(
|
||||
const lastUpdated = (a: string, b: string) => {
|
||||
const aAssoc = associations[a];
|
||||
const bAssoc = associations[b];
|
||||
const aResource = aAssoc.resource;
|
||||
const bResource = bAssoc.resource;
|
||||
const aResource = aAssoc?.resource;
|
||||
const bResource = bAssoc?.resource;
|
||||
|
||||
const aUpdated = a.startsWith('~')
|
||||
? (unreads?.[`/ship/~${window.ship}/dm-inbox`]?.[`/${patp2dec(a)}`]?.last || 0)
|
||||
|
Loading…
Reference in New Issue
Block a user