summaryrefslogtreecommitdiffstats
path: root/src/routes/posts.rs
diff options
context:
space:
mode:
authorColin Reeder <colin@vpzom.click>2020-10-15 15:11:28 -0600
committerColin Reeder <colin@vpzom.click>2020-10-15 15:11:28 -0600
commitd4c07fe2134ba53db4e71738b8a039455b730a9d (patch)
tree00a5986bdac898e204c887ab2a4bc8ffc592fad9 /src/routes/posts.rs
parent5fb9f7df6bb1bbdada1f2a0cc69126044d6fb0c7 (diff)
Adapt to renamed field in post API
Diffstat (limited to 'src/routes/posts.rs')
-rw-r--r--src/routes/posts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/posts.rs b/src/routes/posts.rs
index ae9ccbf..c2d9f3b 100644
--- a/src/routes/posts.rs
+++ b/src/routes/posts.rs
@@ -196,7 +196,7 @@ async fn page_post_inner(
}
<ul class={"commentList topLevel"}>
{
- post.comments.iter().map(|comment| {
+ post.replies.iter().map(|comment| {
render::rsx! {
<Comment comment={comment} base_data={&base_data} lang={&lang} />
}