refactor: show legacy comments even if new comments are disabled
This commit is contained in:
parent
95f42bcfe1
commit
154df65978
@ -155,7 +155,13 @@
|
||||
async>
|
||||
</script>
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p class="text-center text-muted">Comments are not enabled for this post.</p>
|
||||
}
|
||||
|
||||
@{
|
||||
int commentCount = BlogPostService.GetLegacyCommentCount(post);
|
||||
if (commentCount > 0)
|
||||
{
|
||||
@ -207,7 +213,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
<p class="text-center text-muted">Comments are not enabled for this post.</p>
|
||||
}
|
Loading…
Reference in New Issue
Block a user