Page 1 of 1

Serenity Theme - URL and Visible attribute not working

Posted: 21 Oct 2019, 23:21
by ravisubi
Hi There,
I tried a lot to understand and way Serenity app-submenu can have a control to navigate to external link as well how any link/left menu can be conditionally made hidden.

Here is my "app.menu.component.ts" MenuItem model data.

this.model = [
{label: 'Dashboard', icon: 'dashboard', routerLink: ['/']},
{label: 'New', icon: 'fa fa-plus', url: 'http://www.primefaces.org/primeng',visible:false', target:'_blank'},

Using above neither URL is getting redirected or link is not shown.

Regards
Ravi