Compare commits

...

2 Commits

Author SHA1 Message Date
Amey Bhagwat eecbb3c948 Merge branch 'main' of http://192.168.1.200:3000/AmeyBhagwat/Rapport-Mobileapp
* 'main' of http://192.168.1.200:3000/AmeyBhagwat/Rapport-Mobileapp:
  Changes on Metric View and Campaign
2026-05-08 16:57:46 +05:30
Amey Bhagwat 12a240d808 secind commit 2026-05-08 16:57:09 +05:30
4 changed files with 3487 additions and 4688 deletions

8145
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -35,9 +35,7 @@
"filesize": "^10.1.0",
"formik": "^2.4.5",
"html-react-parser": "^6.0.1",
"install": "^0.13.0",
"lodash": "^4.17.21",
"npm": "^11.3.0",
"pdfjs-dist": "^5.4.54",
"react": "^18.2.0",
"react-bootstrap": "^2.10.10",

View File

@ -107,5 +107,11 @@ export const notificationTypes = [
color: "#32ad7c",
bgColor: "#baf6dc",
},
{
type: "overlay_custom",
icon: "star2",
color: "#ca8a04",
bgColor: "#f9edd1",
},
];

View File

@ -241,16 +241,16 @@ function Dashboard() {
useEffect(() => {
if (!currentOverlayNotification?.id) return;
// notificationServices
// .markReadNotification({ id: currentOverlayNotification.id })
// .then((res) => {
// if (res.data?.status === "success") {
// getNotificationStats();
// }
// })
// .catch((err) =>
// console.log("Error marking overlay notification read = ", err)
// );
notificationServices
.markReadNotification({ id: currentOverlayNotification.id })
.then((res) => {
if (res.data?.status === "success") {
getNotificationStats();
}
})
.catch((err) =>
console.log("Error marking overlay notification read = ", err)
);
}, [currentOverlayNotification?.id]);
useEffect(() => {