Skip to content

Commit ccf59a7

Browse files
committed
add missing await
1 parent e3a9af8 commit ccf59a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/fusio-sdk/src/lib/component/account-container/account-container.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export class AccountContainerComponent implements OnInit {
1414

1515
constructor(private router: Router, private route: ActivatedRoute, private navigation: NavigationService) { }
1616

17-
ngOnInit(): void {
18-
this.items = this.navigation.getAccountNavigation();
17+
async ngOnInit(): Promise<void> {
18+
this.items = await this.navigation.getAccountNavigation();
1919
this.active = this.items[0].title;
2020

2121
this.route.url.subscribe(() => {

0 commit comments

Comments
 (0)