diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-11 10:55:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:40 +0100 |
commit | 829523cfa5177a1810d9373f9a25bf3b18138d1e (patch) | |
tree | 0e4604f768c24220a486685ccb2938b95d5251e3 /client/src/app/shared/shared-main/users/user-notifications.component.ts | |
parent | 5d43dae3699d088698560851cb6f35f3dbc70c69 (diff) | |
download | PeerTube-829523cfa5177a1810d9373f9a25bf3b18138d1e.tar.gz PeerTube-829523cfa5177a1810d9373f9a25bf3b18138d1e.tar.zst PeerTube-829523cfa5177a1810d9373f9a25bf3b18138d1e.zip |
Reduce bundle size using a const enum
Diffstat (limited to 'client/src/app/shared/shared-main/users/user-notifications.component.ts')
-rw-r--r-- | client/src/app/shared/shared-main/users/user-notifications.component.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.ts b/client/src/app/shared/shared-main/users/user-notifications.component.ts index 387c49d94..2f6ed061a 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.ts +++ b/client/src/app/shared/shared-main/users/user-notifications.component.ts | |||
@@ -21,9 +21,6 @@ export class UserNotificationsComponent implements OnInit { | |||
21 | notifications: UserNotification[] = [] | 21 | notifications: UserNotification[] = [] |
22 | sortField = 'createdAt' | 22 | sortField = 'createdAt' |
23 | 23 | ||
24 | // So we can access it in the template | ||
25 | UserNotificationType = UserNotificationType | ||
26 | |||
27 | componentPagination: ComponentPagination | 24 | componentPagination: ComponentPagination |
28 | 25 | ||
29 | onDataSubject = new Subject<any[]>() | 26 | onDataSubject = new Subject<any[]>() |