mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix ageanda update
This commit is contained in:
@@ -23,7 +23,7 @@ export class TokenInterceptor implements HttpInterceptor {
|
||||
null
|
||||
);
|
||||
|
||||
private excludedDomains = [ environment.apiChatUrl]; // Add the domains you want to exclude
|
||||
private excludedDomains = [ 'Login', environment.apiChatUrl]; // Add the domains you want to exclude
|
||||
|
||||
constructor(private http: HttpClient, private router: Router,private httpErrorHandle: HttpErrorHandle,) { }
|
||||
|
||||
@@ -129,7 +129,7 @@ export class TokenInterceptor implements HttpInterceptor {
|
||||
if(pathBeforeGoOut != "/auth") {
|
||||
this.httpErrorHandle.httpsSucessMessagge('sessonExpired')
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
return of(false);
|
||||
|
||||
@@ -15,12 +15,11 @@ function createProvider(serviceName) {
|
||||
provider.addSpanProcessor(new SimpleSpanProcessor(new ZipkinExporter({
|
||||
url: 'https://5-180-182-151.cloud-xip.com:85/zipkin-endpoint/api/v2/spans',
|
||||
serviceName: serviceName,
|
||||
// Uncomment and customize the following if needed
|
||||
// getExportRequestHeaders: () => {
|
||||
// return {
|
||||
// foo: 'bar',
|
||||
// };
|
||||
// }
|
||||
getExportRequestHeaders: () => {
|
||||
return {
|
||||
'Authorization': 'Basic ' + btoa('tabteste@006:tabteste@006'),
|
||||
};
|
||||
}
|
||||
})));
|
||||
|
||||
provider.register();
|
||||
|
||||
@@ -374,6 +374,8 @@ export class EditEventToApprovePage implements OnInit {
|
||||
/* await this.eventsService.postEventToApproveEdit(event).toPromise() */
|
||||
this.agendaDataRepository.updateEvent(this.eventProcess.serialNumber, event, false).subscribe((value) => {
|
||||
console.log(value)
|
||||
this.close()
|
||||
|
||||
}, ((error) => {
|
||||
console.log('edit event error: ', error)
|
||||
}));
|
||||
@@ -402,8 +404,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
}));
|
||||
}
|
||||
|
||||
this.close()
|
||||
|
||||
this.httpErrorHandler.httpsSucessMessagge('Editar evento');
|
||||
|
||||
} catch (e) {
|
||||
@@ -577,7 +577,7 @@ export class EditEventToApprovePage implements OnInit {
|
||||
|
||||
this.loadedAttachments = result
|
||||
|
||||
//
|
||||
//
|
||||
}
|
||||
|
||||
deleteAttachment(attachment: Attachment, index) {
|
||||
|
||||
@@ -326,6 +326,9 @@ export class EditEventToApproveComponent implements OnInit {
|
||||
|
||||
this.agendaDataRepository.updateEvent(this.eventProcess.serialNumber, event,false).subscribe((value) => {
|
||||
console.log(value)
|
||||
window['approve-event-getTask']()
|
||||
|
||||
this.close();
|
||||
}, ((error) => {
|
||||
console.log('edit event error: ', error)
|
||||
}));
|
||||
@@ -388,7 +391,6 @@ export class EditEventToApproveComponent implements OnInit {
|
||||
|
||||
}) */
|
||||
|
||||
this.close();
|
||||
}
|
||||
|
||||
async openAttendees() {
|
||||
|
||||
Reference in New Issue
Block a user