pull from developer-prod made

This commit is contained in:
Eudes Inácio
2023-11-29 16:06:56 +01:00
109 changed files with 2301 additions and 702 deletions
+17 -11
View File
@@ -43,11 +43,15 @@ export class NotificationHolderService {
notificationObject(notification) {
const element = notification
const i = this._notificationList.length + 1
let notificationObject;
if (element.notification) {
notificationObject = {
id: notification?.id,
id: notification?.id || uuidv4(),
index: i,
title: element.notification.title,
Service: element.data.Service,
Object: element.data.Object,
@@ -65,7 +69,8 @@ export class NotificationHolderService {
} else if (element.data) {
notificationObject = {
id: notification?.id,
id: notification?.id || uuidv4(),
index: i,
title: element.title,
Service: element.data.Service,
Object: element.data.Object,
@@ -84,19 +89,20 @@ export class NotificationHolderService {
} else {
{
notificationObject = {
id: notification?.id,
title: element.title,
Service: element.Service,
Object: element.Object,
IdObject: element.IdObject,
id: notification?.id || uuidv4(),
FolderId: element.FolderId,
body: element.body,
dateInit: element.dateInit,
dateEnd: element.dateEnd,
IdObject: element.IdObject,
Location: element.Location,
TypeAgenda: element.TypeAgenda,
Object: element.Object,
Role: element.Role,
Service: element.Service,
Status: element.Status,
TypeAgenda: element.TypeAgenda,
body: element.body,
dateEnd: element.dateEnd,
dateInit: element.dateInit,
index: element.index,
title: element.title,
read: false,
}
}