+ @ViewChild('userNotification', { static: true }) userNotification: UserNotificationsComponent
+
+ _notificationSortType: NotificationSortType = 'createdAt'
+
+ get notificationSortType () {
+ return !this.hasUnreadNotifications()
+ ? 'createdAt'
+ : this._notificationSortType
+ }
+
+ set notificationSortType (type: NotificationSortType) {
+ this._notificationSortType = type
+ }