mirror of https://github.com/Chocobozzz/PeerTube
More robust new instance follower notification
parent
ab67d3e8fd
commit
ce78f1f6f0
|
@ -107,8 +107,8 @@
|
||||||
<my-global-icon iconName="users"></my-global-icon>
|
<my-global-icon iconName="users"></my-global-icon>
|
||||||
|
|
||||||
<div class="message">
|
<div class="message">
|
||||||
Your instance has <a (click)="markAsRead(notification)" [routerLink]="notification.instanceFollowUrl">a new follower</a> ({{ notification.actorFollow.follower.host }})
|
Your instance has <a (click)="markAsRead(notification)" [routerLink]="notification.instanceFollowUrl">a new follower</a> ({{ notification.actorFollow?.follower.host }})
|
||||||
<ng-container *ngIf="notification.actorFollow.state === 'pending'"> awaiting your approval</ng-container>
|
<ng-container *ngIf="notification.actorFollow?.state === 'pending'"> awaiting your approval</ng-container>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue