mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Fixe merge and improve sucess message
This commit is contained in:
@@ -169,7 +169,7 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
if(this.profile=='mdgpr') {
|
||||
this.eventService.postEventMd(this.postEvent, this.postEvent.CalendarName).subscribe(
|
||||
(id) => {
|
||||
async (id) => {
|
||||
|
||||
const eventId: string = id;
|
||||
|
||||
@@ -186,7 +186,7 @@ export class NewEventPage implements OnInit {
|
||||
};
|
||||
});
|
||||
|
||||
DocumentToSave.forEach((attachments, i) => {
|
||||
await DocumentToSave.forEach((attachments, i) => {
|
||||
this.attachmentsService.setEventAttachmentById(attachments).subscribe((res) =>{
|
||||
|
||||
if(DocumentToSave.length == (i+1)){
|
||||
|
||||
Reference in New Issue
Block a user