mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 18:01:32 +03:00
Merge branch 'release/next-userspace' into la/deep-graph
This commit is contained in:
commit
d97b50a8ff
@ -80,15 +80,15 @@ export class HarkApi extends BaseApi<StoreState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
markCountAsRead(association: Association, parent: string, description: GraphNotifDescription) {
|
markCountAsRead(association: Association, parent: string, description: GraphNotifDescription) {
|
||||||
return this.harkAction(
|
const action = { 'read-count': {
|
||||||
{ 'read-count': {
|
|
||||||
graph: {
|
graph: {
|
||||||
graph: association.resource,
|
graph: association.resource,
|
||||||
group: association.group,
|
group: association.group,
|
||||||
description,
|
description,
|
||||||
index: parent
|
index: parent
|
||||||
} }
|
} }
|
||||||
});
|
};
|
||||||
|
doOptimistically(useHarkState, action, this.harkAction.bind(this), [reduce]);
|
||||||
}
|
}
|
||||||
|
|
||||||
markEachAsRead(association: Association, parent: string, child: string, description: GraphNotifDescription, mod: string) {
|
markEachAsRead(association: Association, parent: string, child: string, description: GraphNotifDescription, mod: string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user