diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-19 20:12:14 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-19 20:12:14 +0200 |
| commit | 5ed07befc2de849e2d1f05ecb2d5fe067adac0aa (patch) | |
| tree | 450ade589fd27280559ef16d607f1d15f017abb1 | |
| parent | 880ef888931d56d421b7c739c90c44b16d02a9fd (diff) | |
| download | DevHive-Angular-5ed07befc2de849e2d1f05ecb2d5fe067adac0aa.tar DevHive-Angular-5ed07befc2de849e2d1f05ecb2d5fe067adac0aa.tar.gz DevHive-Angular-5ed07befc2de849e2d1f05ecb2d5fe067adac0aa.zip | |
Fixed messages for not having any posts of user or any posts from friends
| -rw-r--r-- | src/app/components/feed/feed.component.html | 2 | ||||
| -rw-r--r-- | src/app/components/profile/profile.component.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/feed/feed.component.html b/src/app/components/feed/feed.component.html index 3b5b69b..fb969da 100644 --- a/src/app/components/feed/feed.component.html +++ b/src/app/components/feed/feed.component.html @@ -25,7 +25,7 @@ </form> <hr class="card-hr"> <section id="posts" (scroll)="onScroll($event)"> - <div id="no-posts-msg" *ngIf="posts.length === 0"> + <div class="text-centered" *ngIf="posts.length === 0"> None of your friends have posted anything yet!<br> Try refreshing your page! </div> diff --git a/src/app/components/profile/profile.component.html b/src/app/components/profile/profile.component.html index 7632620..8d157b3 100644 --- a/src/app/components/profile/profile.component.html +++ b/src/app/components/profile/profile.component.html @@ -49,7 +49,7 @@ </section> <hr class="card-hr"> <section> - <div *ngIf="userPosts.length === 0"> + <div class="text-centered" *ngIf="userPosts.length === 0"> {{ user.firstName }} {{ user.lastName }} hasn't posted anything yet! </div> <div *ngFor="let userPost of userPosts; let i = index"> |
