changed routing

This commit is contained in:
Ryan Bakkes 2022-01-04 04:58:59 +01:00
parent da8400dc6a
commit 607fb2c3be

View File

@ -181,9 +181,8 @@ export class ValuesSortingPage {
// go to rearrange page // go to rearrange page
if(this.game.cardset.length <= 5){ if(this.game.cardset.length <= 5){
await this.game.saveGameStorage("Values", "Align", "cards", this.game.cardset); await this.game.saveGameStorage("Values", "Align", "cards", this.game.cardset);
await this.alertService.presentAlert("Cards selected","INSTRUCTIONS WILL COME HERE"); await this.alertService.presentAlert("Done!","You've selected 5 cards, continue to the next page.");
this.router.navigateByUrl(`/valuesAlign`); this.router.navigateByUrl(`/valuesAlign`);
console.log("SYNC TO NEXT PAGE");
} }
}; };