X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fusers%2Fuser-notification.model.ts;h=72fc3e7b4b968633f4028b11ac3bd693801a92b9;hb=8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac;hp=76b98315282a72401d642ae6ca4cfcb77113a54c;hpb=846751c98b8704c09234688be6e7e23b837a3739;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/users/user-notification.model.ts b/client/src/app/shared/users/user-notification.model.ts index 76b983152..72fc3e7b4 100644 --- a/client/src/app/shared/users/user-notification.model.ts +++ b/client/src/app/shared/users/user-notification.model.ts @@ -59,6 +59,7 @@ export class UserNotification implements UserNotificationServer { accountUrl?: string videoImportIdentifier?: string videoImportUrl?: string + instanceFollowUrl?: string constructor (hash: UserNotificationServer) { this.id = hash.id @@ -141,6 +142,10 @@ export class UserNotification implements UserNotificationServer { case UserNotificationType.NEW_FOLLOW: this.accountUrl = this.buildAccountUrl(this.actorFollow.follower) break + + case UserNotificationType.NEW_INSTANCE_FOLLOWER: + this.instanceFollowUrl = '/admin/follows/followers-list' + break } } catch (err) { console.error(err)