More robust new instance follower notification

pull/2207/head
Chocobozzz 2019-10-25 09:45:38 +02:00
parent ab67d3e8fd
commit ce78f1f6f0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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>