diff --git a/generators/angular/templates/src/main/webapp/app/app-routing.module.ts.ejs b/generators/angular/templates/src/main/webapp/app/app-routing.module.ts.ejs index 4dd9246e0e42..98a299f5e507 100644 --- a/generators/angular/templates/src/main/webapp/app/app-routing.module.ts.ejs +++ b/generators/angular/templates/src/main/webapp/app/app-routing.module.ts.ejs @@ -75,7 +75,7 @@ import { UserRouteAccessService } from 'app/core/auth/user-route-access.service' path: '<%= applicationTypeMicroservice ? lowercaseBaseName : '' %>', loadChildren: () => import(`./entities/entity-routing.module`).then(({ EntityRoutingModule }) => EntityRoutingModule), }, -<%_ if (applicationTypeGateway) { _%> +<%_ if (applicationTypeGateway && microfrontend) { _%> <%_ for (const remote of microfrontends) { _%> { path: '<%= remote.lowercaseBaseName %>', diff --git a/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.html.ejs b/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.html.ejs index c9cc41ee832d..2ea9de27d381 100644 --- a/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.html.ejs +++ b/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.component.html.ejs @@ -61,7 +61,7 @@