Commit a4fa0dac by sawit

ปรับ function ให้ get tokenapp

parent 03c321cb
......@@ -361,6 +361,7 @@ export class HomeComponent implements OnInit {
navigateToApp(app: AppModule) {
// เนื่องจากทุก path ตอนนี้เริ่มด้วย /portal-manage แล้ว
this.tokenService.saveAppToken(app.name);
this.router.navigate([app.path]);
window.sessionStorage.setItem("module", app.name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment