diff --git a/src/state/models/content/post-thread.ts b/src/state/models/content/post-thread.ts index 18a42732..a0f75493 100644 --- a/src/state/models/content/post-thread.ts +++ b/src/state/models/content/post-thread.ts @@ -125,7 +125,7 @@ export class PostThreadItemModel { parentModel._depth = this._depth - 1 parentModel._showChildReplyLine = true if (v.parent.parent) { - parentModel._showParentReplyLine = true //parentModel.uri !== higlightedPostUri + parentModel._showParentReplyLine = true parentModel.assignTreeModels(v.parent, higlightedPostUri, true, false) } this.parent = parentModel @@ -143,7 +143,7 @@ export class PostThreadItemModel { const itemModel = new PostThreadItemModel(this.rootStore, item) itemModel._depth = this._depth + 1 itemModel._showParentReplyLine = - itemModel.parentUri !== higlightedPostUri + itemModel.parentUri !== higlightedPostUri && replies.length === 0 if (item.replies?.length) { itemModel._showChildReplyLine = true itemModel.assignTreeModels(item, higlightedPostUri, false, true) diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index 953e67b1..ddb2cb7b 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -310,7 +310,12 @@ export const PostThreadItem = observer(function PostThreadItem({ {item._showParentReplyLine && (