Skip to content
Snippets Groups Projects
Commit 1017ab09 authored by kbeyro's avatar kbeyro
Browse files

change routerlink to basic app view

parent 15d6dacf
Branches
Tags
No related merge requests found
......@@ -39,7 +39,7 @@ export class AppAddJsonAppComponent implements OnInit {
this.appsService.createApplicationDTO(JSON.parse(fileReader.result)).subscribe(result => {
console.log('uploaded', result);
this.modal.hide();
this.router.navigate(['admin/apps/view/', result.id])
this.router.navigate(['apps', result.id])
},
error => {
console.log(error)
......@@ -57,7 +57,7 @@ export class AppAddJsonAppComponent implements OnInit {
this.appsService.createApplicationDTO(JSON.parse(this.jsonText)).subscribe(result => {
console.log('uploaded', result);
this.modal.hide();
this.router.navigate(['admin/apps/view/', result.id])
this.router.navigate(['apps', result.id])
},
error => {
console.log(error)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment