RodrigoDLopez commented on PR #6505:
URL: https://github.com/apache/cloudstack/pull/6505#issuecomment-1265371933

   Thanks, @GutoVeronezi 
   
   Based on your suggestion I added a new attribute called `isExternalLink` to 
`plugin`; This way, the default plugin behavior is kept as creating a new menu 
and, when identifying the object with the new attribute `isExternalLink` as 
`true`, we will create a component (a single button or a list of links), at the 
top-right corner of the page, to redirect users to the link configured. 
    
   Also, I noticed that if an empty component is inserted (without link or 
name), `router.js` will create a new empty entry in the left menu, which will 
do nothing. Therefore, I made a small change to avoid this behavior and only 
create the menu when at least the name and link are provided.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to