diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-25 09:45:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-25 09:45:38 +0200 |
commit | ce78f1f6f04e196aa24ebb6737b3368424509ce3 (patch) | |
tree | 4988931ce0effd40b4c60792f27cefb82fd6cf85 /client/src/app/shared | |
parent | ab67d3e8fda9ae2995239a4d390976edd486858c (diff) | |
download | PeerTube-ce78f1f6f04e196aa24ebb6737b3368424509ce3.tar.gz PeerTube-ce78f1f6f04e196aa24ebb6737b3368424509ce3.tar.zst PeerTube-ce78f1f6f04e196aa24ebb6737b3368424509ce3.zip |
More robust new instance follower notification
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/users/user-notifications.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html index a0f8e6df5..184befbde 100644 --- a/client/src/app/shared/users/user-notifications.component.html +++ b/client/src/app/shared/users/user-notifications.component.html | |||
@@ -107,8 +107,8 @@ | |||
107 | <my-global-icon iconName="users"></my-global-icon> | 107 | <my-global-icon iconName="users"></my-global-icon> |
108 | 108 | ||
109 | <div class="message"> | 109 | <div class="message"> |
110 | Your instance has <a (click)="markAsRead(notification)" [routerLink]="notification.instanceFollowUrl">a new follower</a> ({{ notification.actorFollow.follower.host }}) | 110 | Your instance has <a (click)="markAsRead(notification)" [routerLink]="notification.instanceFollowUrl">a new follower</a> ({{ notification.actorFollow?.follower.host }}) |
111 | <ng-container *ngIf="notification.actorFollow.state === 'pending'"> awaiting your approval</ng-container> | 111 | <ng-container *ngIf="notification.actorFollow?.state === 'pending'"> awaiting your approval</ng-container> |
112 | </div> | 112 | </div> |
113 | </ng-container> | 113 | </ng-container> |
114 | 114 | ||