Skip to content

Commit

Permalink
fix(cli): correct null value handling (#1724)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Dec 8, 2023
1 parent 57a46c8 commit c88c9f2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -52,9 +52,9 @@ export class StartupService {
// ACL: Set the permissions to full, https://ng-alain.com/acl/getting-started
this.aclService.setFull(true);
// Menu data, https://ng-alain.com/theme/menu
this.menuService.add(res.menu);
this.menuService.add(res.menu ?? []);
// Can be set page suffix title, https://ng-alain.com/theme/title
this.titleService.suffix = res.app.name;
this.titleService.suffix = res.app?.name;
}

<% if (i18n) { %>
Expand Down

0 comments on commit c88c9f2

Please sign in to comment.