|
@@ -167,12 +167,12 @@ const handleNotification = async (notification) => {
|
|
|
await markAsRead(notification.id)
|
|
await markAsRead(notification.id)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (
|
|
|
|
|
- notification.origin === 'schedule'
|
|
|
|
|
- && notification.origin_id
|
|
|
|
|
- ) {
|
|
|
|
|
- router.push(`/schedule/${notification.origin_id}`)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (
|
|
|
|
|
+ // notification.origin === 'schedule'
|
|
|
|
|
+ // && notification.origin_id
|
|
|
|
|
+ // ) {
|
|
|
|
|
+ // router.push(`/schedule/${notification.origin_id}`)
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const getNotificationIcon = (type) => {
|
|
const getNotificationIcon = (type) => {
|
|
@@ -315,6 +315,6 @@ const getNotificationIcon = (type) => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.status-dot.active {
|
|
.status-dot.active {
|
|
|
- background: #d8d8d8;
|
|
|
|
|
|
|
+ background: #1fa31b;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|