Revert "EventsService Changes. Attendees Page. Others."

This reverts commit 11fdfe1e54.
This commit is contained in:
Paulo Pinto
2020-08-25 12:52:45 +01:00
parent 11fdfe1e54
commit 04b2c25eb1
78 changed files with 1187 additions and 201 deletions
@@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core';
import { AttachmentsService } from 'src/app/services/attachments.service';
import { Attachment } from 'src/app/models/attachment.model';
import { ActivatedRoute } from '@angular/router';
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
@Component({
selector: 'app-attachments',
@@ -13,7 +12,7 @@ export class AttachmentsPage implements OnInit {
loadedEventAttachments: Attachment[];
constructor(private attachamentsService: AttachmentsService, private activatedRoute: ActivatedRoute, private iab: InAppBrowser) { }
constructor(private attachamentsService: AttachmentsService, private activatedRoute: ActivatedRoute) { }
ngOnInit() {
/* Emit new data when something changes */
@@ -33,10 +32,4 @@ export class AttachmentsPage implements OnInit {
});
}
viewDocument(documenturl:string)
{
const browser = this.iab.create(documenturl);
browser.show();
}
}