From 846751c98b8704c09234688be6e7e23b837a3739 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 9 Apr 2019 08:18:59 +0200 Subject: Add newInstanceFollower in notification settings --- .../my-account-notification-preferences.component.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'client/src/app/+my-account/my-account-settings') diff --git a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts index 67ddf54da..34febc457 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts @@ -42,14 +42,16 @@ export class MyAccountNotificationPreferencesComponent implements OnInit { myVideoImportFinished: this.i18n('Video import finished'), newUserRegistration: this.i18n('A new user registered on your instance'), newFollow: this.i18n('You or your channel(s) has a new follower'), - commentMention: this.i18n('Someone mentioned you in video comments') + commentMention: this.i18n('Someone mentioned you in video comments'), + newInstanceFollower: this.i18n('Your instance has a new follower') } this.notificationSettingKeys = Object.keys(this.labelNotifications) as (keyof UserNotificationSetting)[] this.rightNotifications = { videoAbuseAsModerator: UserRight.MANAGE_VIDEO_ABUSES, videoAutoBlacklistAsModerator: UserRight.MANAGE_VIDEO_BLACKLIST, - newUserRegistration: UserRight.MANAGE_USERS + newUserRegistration: UserRight.MANAGE_USERS, + newInstanceFollower: UserRight.MANAGE_SERVER_FOLLOW } this.emailEnabled = this.serverService.getConfig().email.enabled -- cgit v1.2.3