aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/components/post-page/post-page.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/components/post-page/post-page.component.html b/src/app/components/post-page/post-page.component.html
index cf56611..590c476 100644
--- a/src/app/components/post-page/post-page.component.html
+++ b/src/app/components/post-page/post-page.component.html
@@ -12,7 +12,7 @@
</form>
<hr class="card-hr">
<section>
- <div class="text-centered" *ngIf="post?.comments.length === 0">
+ <div class="text-centered" *ngIf="post?.comments?.length === 0">
Nobody has comented on this post yet!<br>
Try refreshing the page!
</div>