mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix issues
This commit is contained in:
@@ -126,11 +126,11 @@ export class ViewEventPage implements OnInit {
|
||||
this.eventsService.getEvent(this.eventId).subscribe(res => {
|
||||
this.loadedEvent = res;
|
||||
// this.addEventToDb(res);
|
||||
|
||||
|
||||
loader.remove()
|
||||
}, (error) => {
|
||||
|
||||
|
||||
|
||||
|
||||
if (error.status === 0) {
|
||||
// this.getFromDb();
|
||||
} else {
|
||||
@@ -148,10 +148,10 @@ export class ViewEventPage implements OnInit {
|
||||
this.eventsService.genericGetEvent(this.eventId, this.CalendarId).subscribe(res => {
|
||||
this.loadedEvent = res;
|
||||
// this.addEventToDb(res);
|
||||
|
||||
|
||||
loader.remove()
|
||||
}, (error) => {
|
||||
|
||||
|
||||
if (error.status === 0) {
|
||||
// this.getFromDb();
|
||||
} else {
|
||||
@@ -238,7 +238,7 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop',
|
||||
|
||||
});
|
||||
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
if (res) {
|
||||
@@ -382,7 +382,7 @@ export class ViewEventPage implements OnInit {
|
||||
});
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
async (res) => { },
|
||||
async (res) => { },
|
||||
(error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user