mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix
This commit is contained in:
@@ -202,9 +202,6 @@ export class NotificationsService {
|
||||
this.active = true
|
||||
console.log('NOtification Listener', notification)
|
||||
this.storenotification(notification)
|
||||
this.chatNotification(notification)
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
@@ -216,7 +213,6 @@ export class NotificationsService {
|
||||
this.eventtrigger.publishSomeData({
|
||||
notification: "recive"
|
||||
})
|
||||
this.chatNotification(notification)
|
||||
// Handle the received message, e.g., show a notification
|
||||
});
|
||||
}
|
||||
@@ -400,12 +396,4 @@ export class NotificationsService {
|
||||
}
|
||||
|
||||
|
||||
chatNotification(_notification) {
|
||||
const notification = this.NotificationHolderService.stractureNotificationObject(_notification)
|
||||
|
||||
if (notification?.notification?.data?.Service === "chat" || notification?.Service === "chat") {
|
||||
this.ChatController.ChatSystemService.runMainChangeDetector()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user