diff options
Diffstat (limited to 'client/src/app/shared/users/user-notification.model.ts')
-rw-r--r-- | client/src/app/shared/users/user-notification.model.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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 { | |||
59 | accountUrl?: string | 59 | accountUrl?: string |
60 | videoImportIdentifier?: string | 60 | videoImportIdentifier?: string |
61 | videoImportUrl?: string | 61 | videoImportUrl?: string |
62 | instanceFollowUrl?: string | ||
62 | 63 | ||
63 | constructor (hash: UserNotificationServer) { | 64 | constructor (hash: UserNotificationServer) { |
64 | this.id = hash.id | 65 | this.id = hash.id |
@@ -141,6 +142,10 @@ export class UserNotification implements UserNotificationServer { | |||
141 | case UserNotificationType.NEW_FOLLOW: | 142 | case UserNotificationType.NEW_FOLLOW: |
142 | this.accountUrl = this.buildAccountUrl(this.actorFollow.follower) | 143 | this.accountUrl = this.buildAccountUrl(this.actorFollow.follower) |
143 | break | 144 | break |
145 | |||
146 | case UserNotificationType.NEW_INSTANCE_FOLLOWER: | ||
147 | this.instanceFollowUrl = '/admin/follows/followers-list' | ||
148 | break | ||
144 | } | 149 | } |
145 | } catch (err) { | 150 | } catch (err) { |
146 | console.error(err) | 151 | console.error(err) |