Compare commits
2 Commits
fa58c8d282
...
eecbb3c948
| Author | SHA1 | Date |
|---|---|---|
|
|
eecbb3c948 | |
|
|
12a240d808 |
File diff suppressed because it is too large
Load Diff
|
|
@ -35,9 +35,7 @@
|
||||||
"filesize": "^10.1.0",
|
"filesize": "^10.1.0",
|
||||||
"formik": "^2.4.5",
|
"formik": "^2.4.5",
|
||||||
"html-react-parser": "^6.0.1",
|
"html-react-parser": "^6.0.1",
|
||||||
"install": "^0.13.0",
|
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"npm": "^11.3.0",
|
|
||||||
"pdfjs-dist": "^5.4.54",
|
"pdfjs-dist": "^5.4.54",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-bootstrap": "^2.10.10",
|
"react-bootstrap": "^2.10.10",
|
||||||
|
|
|
||||||
|
|
@ -107,5 +107,11 @@ export const notificationTypes = [
|
||||||
color: "#32ad7c",
|
color: "#32ad7c",
|
||||||
bgColor: "#baf6dc",
|
bgColor: "#baf6dc",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "overlay_custom",
|
||||||
|
icon: "star2",
|
||||||
|
color: "#ca8a04",
|
||||||
|
bgColor: "#f9edd1",
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -241,16 +241,16 @@ function Dashboard() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!currentOverlayNotification?.id) return;
|
if (!currentOverlayNotification?.id) return;
|
||||||
// notificationServices
|
notificationServices
|
||||||
// .markReadNotification({ id: currentOverlayNotification.id })
|
.markReadNotification({ id: currentOverlayNotification.id })
|
||||||
// .then((res) => {
|
.then((res) => {
|
||||||
// if (res.data?.status === "success") {
|
if (res.data?.status === "success") {
|
||||||
// getNotificationStats();
|
getNotificationStats();
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// .catch((err) =>
|
.catch((err) =>
|
||||||
// console.log("Error marking overlay notification read = ", err)
|
console.log("Error marking overlay notification read = ", err)
|
||||||
// );
|
);
|
||||||
}, [currentOverlayNotification?.id]);
|
}, [currentOverlayNotification?.id]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue