mmiklavc commented on a change in pull request #1464: METRON-2179: Make 
navigation in both UIs consistent
URL: https://github.com/apache/metron/pull/1464#discussion_r305020421
 
 

 ##########
 File path: metron-interface/metron-config/src/app/app.component.ts
 ##########
 @@ -28,6 +28,40 @@ import {AuthenticationService} from 
'./service/authentication.service';
 export class AppComponent {
 
   loggedIn = false;
+  isCollapsed = false;
+  hostname = window.location.hostname;
+  centralNavLinks = [
+    {
+      linkName: 'Alerts',
+      iconClass: 'warning',
+      subLinks: [
+        {
+          linkName: 'Overview',
+          routerLink: ':4201/alerts-list',
+          externalLink: true
+        },
+        {
+          linkName: 'PCAP',
+          routerLink: ':4201/pcap',
 
 Review comment:
   Is this the right place to hardcode a port number?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to