show recent in app notifications fix

This commit is contained in:
amentis 2024-04-16 12:17:40 +03:00
parent 2f6dcb7300
commit ec2a93f8c6
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ export class MineInAppNotificationListingDialogComponent extends BaseComponent i
nameof<InAppNotification>(x => x.trackingState),
]
};
lookup.page = { offset: 0, size: 10 };
lookup.page = { offset: 0, size: 5 };
lookup.order = { items: ['-' + nameof<InAppNotification>(x => x.createdAt)] };
lookup.isActive = [IsActive.Active];
this.inappNotificationService.query(lookup)

View File

@ -24,7 +24,7 @@ import { NotificationServiceFormattingModule } from '@notification-service/core/
MineInAppNotificationRoutingModule,
UserSettingsModule,
CommonFormattingModule,
// FormattingModule,
FormattingModule,
NotificationServiceFormattingModule
],
declarations: [