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