Merge pull request #3860 from tylershuster/publish-spinner

publish: fixes #3859, fixes #3844
This commit is contained in:
matildepark 2020-11-03 12:17:39 -05:00 committed by GitHub
commit 7bb8d42ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ export function getLatestRevision(node: GraphNode): [number, string, string, Pos
return empty
}
const [title, body] = rev.post.contents as TextContent[];
return [revNum, title.text, body.text, rev.post];
return [revNum.toJSNumber(), title.text, body.text, rev.post];
}
export function getComments(node: GraphNode): GraphNode {