interface: fix group feed unread count
Fixes urbit/landscape#1258
@@ -54,7 +54,7 @@ export function SidebarListHeader(props: {
const feedPath = groupPath ? getFeedPath(associations.groups[groupPath]) : undefined;
const unreadCount = useHarkState(
- s => s.unreads?.graph?.[feedPath ?? '']?.['/']?.unreads as number ?? 0
+ s => s.unreads?.[`/graph/${feedPath.slice(6)}` ?? '']?.count as number ?? 0
);
return (
