Merge Dev In Staging
This commit is contained in:
commit
0d740e0716
@ -6,6 +6,7 @@ export interface IGetNotificationsParams {
|
||||
where?: {};
|
||||
include?: {};
|
||||
select?: {};
|
||||
orderBy?: {};
|
||||
}
|
||||
|
||||
export type IPutNotificationsParams = {
|
||||
|
@ -39,6 +39,12 @@ export default function Navigation() {
|
||||
where: {
|
||||
read: false,
|
||||
},
|
||||
include: {
|
||||
notification: true
|
||||
},
|
||||
orderBy: {
|
||||
notification: {created_at: "desc"},
|
||||
}
|
||||
});
|
||||
notifications.forEach((notification) => {
|
||||
Toasts.getInstance().open({
|
||||
|
Loading…
x
Reference in New Issue
Block a user