Skip to content

Commit

Permalink
fix(cli): correct null value handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Nov 29, 2023
1 parent 49a84a1 commit 93a2c9a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 93a2c9a

Please sign in to comment.