fix sort
This commit is contained in:
@@ -18,7 +18,7 @@ export class ServicesComponent implements OnInit {
|
|||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.serviceService.services().subscribe((data: any) => {
|
this.serviceService.services().subscribe((data: any) => {
|
||||||
this.services = data;
|
this.services = data;
|
||||||
this.sortData({"active": "name", "direction": "desc"});
|
this.sortData({"active": "name", "direction": "asc"});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user