From 829523cfa5177a1810d9373f9a25bf3b18138d1e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Mar 2021 10:55:09 +0100 Subject: Reduce bundle size using a const enum --- .../users/user-notifications.component.html | 32 +++++++++++----------- .../users/user-notifications.component.ts | 3 -- 2 files changed, 16 insertions(+), 19 deletions(-) (limited to 'client/src') diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.html b/client/src/app/shared/shared-main/users/user-notifications.component.html index 265af8d55..5e0e2f8e8 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.html +++ b/client/src/app/shared/shared-main/users/user-notifications.component.html @@ -4,7 +4,7 @@
- + @@ -26,7 +26,7 @@ - +
@@ -34,7 +34,7 @@
- +
@@ -42,7 +42,7 @@
- +
@@ -63,7 +63,7 @@
- +
@@ -73,7 +73,7 @@
- +
@@ -81,7 +81,7 @@
- +
@@ -89,7 +89,7 @@
- + @@ -109,7 +109,7 @@ - +
@@ -117,7 +117,7 @@
- +
@@ -125,7 +125,7 @@
- +
@@ -133,7 +133,7 @@
- +
@@ -141,7 +141,7 @@
- +
@@ -154,7 +154,7 @@
- + @@ -174,7 +174,7 @@ - +
@@ -183,7 +183,7 @@
- +
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 { notifications: UserNotification[] = [] sortField = 'createdAt' - // So we can access it in the template - UserNotificationType = UserNotificationType - componentPagination: ComponentPagination onDataSubject = new Subject() -- cgit v1.2.3