Skip to content

Commit 910ba3d

Browse files
committed
[Angular] Remove admin page links in the navbar
1 parent 8faf473 commit 910ba3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generators/client/templates/angular/src/main/webapp/app/layouts/navbar/navbar.component.html.ejs

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
</a>
8181
</li>
8282
<%_ } _%>
83+
<%_ if(withAdminUi){ _%>
8384
<li>
8485
<a class="dropdown-item" routerLink="admin/metrics" routerLinkActive="active" (click)="collapseNavbar()">
8586
<fa-icon icon="tachometer-alt" [fixedWidth]="true"></fa-icon>
@@ -110,6 +111,7 @@
110111
<span jhiTranslate="global.menu.admin.apidocs">API</span>
111112
</a>
112113
</li>
114+
<%_ } _%>
113115
<!-- jhipster-needle-add-element-to-admin-menu - JHipster will add entities to the admin menu here -->
114116
<%_ if (devDatabaseType === 'h2Disk' || devDatabaseType === 'h2Memory' || devDatabaseType === 'couchbase') { _%>
115117
<li *ngIf="!inProduction">

0 commit comments

Comments
 (0)