aboutsummaryrefslogtreecommitdiff
path: root/src/app/components
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-21 18:50:37 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-21 18:50:37 +0200
commit62d0b6fd8436d21ad436438880e3253d5b15cbcf (patch)
tree1ac05612658758767248b80d5a9401fc66ef5d30 /src/app/components
parent57e6249898e10873e07498e7508192ba07dd50ef (diff)
downloadDevHive-Angular-62d0b6fd8436d21ad436438880e3253d5b15cbcf.tar
DevHive-Angular-62d0b6fd8436d21ad436438880e3253d5b15cbcf.tar.gz
DevHive-Angular-62d0b6fd8436d21ad436438880e3253d5b15cbcf.zip
Fixed a tiny "possibly undefined" error in post page component html
Diffstat (limited to 'src/app/components')
-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>