From ad7e2f6eca06876834639938604ee0e2b8cba317 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Tue, 30 Aug 2022 09:49:13 +0000 Subject: [PATCH] bug fixed --- src/app/modules/game/main/main.component.ts | 25 ++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/app/modules/game/main/main.component.ts b/src/app/modules/game/main/main.component.ts index 2e77347..50659e4 100644 --- a/src/app/modules/game/main/main.component.ts +++ b/src/app/modules/game/main/main.component.ts @@ -18,19 +18,18 @@ export class GameMainComponent implements OnInit { ngOnInit(): void { this.__activatedRoute.queryParams.subscribe((params) => { - console.log(params); // { orderby: "price" } - const vendorKey = params['vendor_key']; - const gameKey = params['game_key']; - - let r = this.__gameService - .getGameUrl(vendorKey, gameKey) - .then((r) => { - console.log('success', r.getUrl()); - window.location.href = r.getUrl(); - }) - .catch((e) => { - console.log('fail', e); - }); + // console.log(params); // { orderby: "price" } + // const vendorKey = params['vendor_key']; + // const gameKey = params['game_key']; + // let r = this.__gameService + // .getGameUrl(vendorKey, gameKey) + // .then((r) => { + // console.log('success', r.getUrl()); + // window.location.href = r.getUrl(); + // }) + // .catch((e) => { + // console.log('fail', e); + // }); }); } /**