+1
-1
post_component.js
+1
-1
post_component.js
···
158
158
wrapper.appendChild(stats);
159
159
}
160
160
161
-
if (this.post.replies.length == 1 && this.post.replies[0].author?.did == this.post.author.did) {
161
+
if (this.post.replyCount == 1 && this.post.replies[0]?.author?.did == this.post.author.did) {
162
162
let component = new PostComponent(this.post.replies[0], 'thread');
163
163
let element = component.buildElement();
164
164
element.classList.add('flat');