Selaa lähdekoodia

Check score data each time the page has been visited

master
kj1352 4 vuotta sitten
vanhempi
commit
70ee977c98
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. +4
    -3
      src/app/live/live.page.ts

+ 4
- 3
src/app/live/live.page.ts Näytä tiedosto

@@ -239,6 +239,10 @@ export class LivePage implements OnInit {
} }


ngOnInit() { ngOnInit() {
}

ionViewDidEnter() {
this.matchService.getFixtures().then((data: Array<IMatch>) => { this.matchService.getFixtures().then((data: Array<IMatch>) => {
this.fixtures = data; this.fixtures = data;


@@ -276,9 +280,6 @@ export class LivePage implements OnInit {
}); });
} }


ionViewDidEnter() {
}

showMatchDetails() { showMatchDetails() {
this.router.navigate(['/match-details', { match_id: this.currentMatch.Matchdetail.Match.Id }]); this.router.navigate(['/match-details', { match_id: this.currentMatch.Matchdetail.Match.Id }]);
} }


Ladataan…
Peruuta
Tallenna