Skip to content

Commit f97c8a3

Browse files
committed
Remove async / await from CmsPageList.goToList()
it was unnecessary
1 parent f5e2f90 commit f97c8a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

projects/lib/src/admin/components/page-list/page-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ export class PageListComponent implements OnInit {
104104
};
105105
}
106106

107-
async goToList(e: MouseEvent): Promise<void> {
107+
goToList(e: MouseEvent): void {
108108
this.selected = undefined;
109-
await this.ngOnInit();
109+
this.ngOnInit();
110110
}
111111

112112
async selectPage(page): Promise<void> {

0 commit comments

Comments
 (0)