Commit 32aa6eaa authored by csillag's avatar csillag Committed by Kristof Csillag

WIP tem work-around for #786

parent dd64fafe
......@@ -289,10 +289,11 @@ class Hypothesis extends Annotator
buildReplyList: (annotations=[]) =>
$filter = @element.injector().get '$filter'
for annotation in annotations
thread = @threading.getContainer annotation.id
children = (r.message for r in (thread.children or []))
annotation.reply_list = children.sort(@sortAnnotations).reverse()
@buildReplyList children
if annotation?
thread = @threading.getContainer annotation.id
children = (r.message for r in (thread.children or []))
annotation.reply_list = children.sort(@sortAnnotations).reverse()
@buildReplyList children
updateViewer: (annotations=[]) =>
@element.injector().invoke [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment