fixed bug en view discoteca cliente

This commit is contained in:
onsaliyo 2021-05-15 12:58:36 +02:00
parent ff4645dd58
commit 287f457a11
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export class ViewDiscotecaClientePage implements OnInit {
constructor(private feedService: FeedService) { } constructor(private feedService: FeedService) { }
ngOnInit() { ngOnInit() {
this.eventos = [];
this.discoteca = this.feedService.discotecaEvento; this.discoteca = this.feedService.discotecaEvento;
this.feedService.eventos.forEach(evento => { this.feedService.eventos.forEach(evento => {
if (this.discoteca.discotecaID == evento.discotecaID){ if (this.discoteca.discotecaID == evento.discotecaID){