mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix agenda list box and create event on chat
This commit is contained in:
@@ -269,7 +269,7 @@
|
||||
[selectedDate]="eventSelectedDate"
|
||||
[eventAttendees]="contacts"
|
||||
(onAddEvent)="closeNewEventComponentAndOpenChat($event)"
|
||||
(openAttendeesComponent)="closeNewEventComponentAndOpenChat($event)"
|
||||
(openAttendeesComponent)="openAttendeesComponent($event)"
|
||||
(backToChat)="backToChat($event)"
|
||||
[style.display]="showNewEvent ? 'flex' : 'none'"
|
||||
class=" height-100 flex-column">
|
||||
@@ -278,7 +278,7 @@
|
||||
[adding]="adding"
|
||||
[taskParticipants]="taskParticipants"
|
||||
[taskParticipantsCc]="taskParticipantsCc"
|
||||
(closeComponent)="closeAttendeesComponent()"
|
||||
(closeComponent)="openNewEventPage()"
|
||||
(setIntervenient)="setIntervenient($event)"
|
||||
(setIntervenientCC)="setIntervenientCC($event)"
|
||||
(setContact)="setContact($event)"
|
||||
|
||||
@@ -297,15 +297,19 @@ export class ChatPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
openNewEventPage(data: any) {
|
||||
this.taskParticipants = data.members.map((val) => {
|
||||
return {
|
||||
Name: val.name,
|
||||
EmailAddress: val.username + "@" + environment.domain,
|
||||
IsRequired: "true",
|
||||
}
|
||||
});
|
||||
this.groupRoomId = data.roomId;
|
||||
openNewEventPage(data?) {
|
||||
|
||||
if(data) {
|
||||
this.taskParticipants = data.members.map((val) => {
|
||||
return {
|
||||
Name: val.name,
|
||||
EmailAddress: val.username + "@" + environment.domain,
|
||||
IsRequired: "true",
|
||||
}
|
||||
});
|
||||
this.groupRoomId = data.roomId;
|
||||
}
|
||||
|
||||
this.closeAllDesktopComponents();
|
||||
if (window.innerWidth < 701) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user