Commit cc2e67ce by sawit

edit link myskill-x

parent 73e72e5e
...@@ -84,11 +84,11 @@ export class ApprovedListComponent implements OnInit { ...@@ -84,11 +84,11 @@ export class ApprovedListComponent implements OnInit {
} }
openView(id:string){ openView(id:string){
if(id =='1'){ if(id =='1'){
this.routes.navigate(['/admin/view-list-excel/1']); this.routes.navigate(['/myskill-x/view-list-excel/1']);
}else if(id =='2'){ }else if(id =='2'){
this.routes.navigate(['/admin/view-list-doc/1']); this.routes.navigate(['/myskill-x/view-list-doc/1']);
}else if(id =='3'){ }else if(id =='3'){
this.routes.navigate(['/admin/view-list-course/1']); this.routes.navigate(['/myskill-x/view-list-course/1']);
} }
} }
} }
...@@ -70,11 +70,11 @@ export class PortalCategoryListApproveComponent implements OnInit { ...@@ -70,11 +70,11 @@ export class PortalCategoryListApproveComponent implements OnInit {
} }
openView(id: string) { openView(id: string) {
if (id == '1') { if (id == '1') {
this.router.navigate(['/admin/approve-excel']); this.router.navigate(['/myskill-x/approve-excel']);
} else if (id == '2') { } else if (id == '2') {
this.router.navigate(['/admin/approve-doc']); this.router.navigate(['/myskill-x/approve-doc']);
} else if (id == '3') { } else if (id == '3') {
this.router.navigate(['/admin/approve-course']); this.router.navigate(['/myskill-x/approve-course']);
} }
} }
async getListCount() { async getListCount() {
......
...@@ -105,13 +105,13 @@ export class PortalCategoryListComponent implements OnInit { ...@@ -105,13 +105,13 @@ export class PortalCategoryListComponent implements OnInit {
} }
openView(id: string) { openView(id: string) {
if (id == '1') { if (id == '1') {
this.routes.navigate(['/admin/view-list-excel']); this.routes.navigate(['/myskill-x/view-list-excel']);
} else if (id == '2') { } else if (id == '2') {
this.routes.navigate(['/admin/view-list-doc']); this.routes.navigate(['/myskill-x/view-list-doc']);
} else if (id == '3') { } else if (id == '3') {
this.routes.navigate(['/admin/view-list-course']); this.routes.navigate(['/myskill-x/view-list-course']);
} else if (id == '4') { } else if (id == '4') {
this.routes.navigate(['/admin/view-list-widgets']); this.routes.navigate(['/myskill-x/view-list-widgets']);
} }
} }
......
...@@ -107,13 +107,13 @@ export class PortalCreateCategoryComponent implements OnInit { ...@@ -107,13 +107,13 @@ export class PortalCreateCategoryComponent implements OnInit {
} }
openView(id:string){ openView(id:string){
if(id =='1'){ if(id =='1'){
this.routes.navigate(['/admin/list-excell']); this.routes.navigate(['/myskill-x/list-excell']);
}else if(id =='2'){ }else if(id =='2'){
this.routes.navigate(['/admin/list-doc']); this.routes.navigate(['/myskill-x/list-doc']);
}else if(id =='3'){ }else if(id =='3'){
this.routes.navigate(['/admin/list-course']); this.routes.navigate(['/myskill-x/list-course']);
}else if(id =='4'){ }else if(id =='4'){
this.routes.navigate(['/admin/list-widgets']); this.routes.navigate(['/myskill-x/list-widgets']);
} }
} }
openModal(targetModal: NgbModal) { openModal(targetModal: NgbModal) {
......
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