diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-21 18:50:37 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-21 18:50:37 +0200 |
| commit | 62d0b6fd8436d21ad436438880e3253d5b15cbcf (patch) | |
| tree | 1ac05612658758767248b80d5a9401fc66ef5d30 /src/app/components/post-page | |
| parent | 57e6249898e10873e07498e7508192ba07dd50ef (diff) | |
| download | DevHive-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/post-page')
| -rw-r--r-- | src/app/components/post-page/post-page.component.html | 2 |
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> |
