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 ...@@ -289,10 +289,11 @@ class Hypothesis extends Annotator
buildReplyList: (annotations=[]) => buildReplyList: (annotations=[]) =>
$filter = @element.injector().get '$filter' $filter = @element.injector().get '$filter'
for annotation in annotations for annotation in annotations
thread = @threading.getContainer annotation.id if annotation?
children = (r.message for r in (thread.children or [])) thread = @threading.getContainer annotation.id
annotation.reply_list = children.sort(@sortAnnotations).reverse() children = (r.message for r in (thread.children or []))
@buildReplyList children annotation.reply_list = children.sort(@sortAnnotations).reverse()
@buildReplyList children
updateViewer: (annotations=[]) => updateViewer: (annotations=[]) =>
@element.injector().invoke [ @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