aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/users/user-notifications.component.ts1
1 files changed, 1 insertions, 0 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 48be80e3f..7518dbdd0 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
@@ -53,6 +53,7 @@ export class UserNotificationsComponent implements OnInit {
53 ignoreLoadingBar: this.ignoreLoadingBar, 53 ignoreLoadingBar: this.ignoreLoadingBar,
54 sort: { 54 sort: {
55 field: this.sortField, 55 field: this.sortField,
56 // if we order by creation date, we want DESC. all other fields are ASC (like unread).
56 order: this.sortField === 'createdAt' ? -1 : 1 57 order: this.sortField === 'createdAt' ? -1 : 1
57 } 58 }
58 }) 59 })