I have list below as a side menu .
{{type.name}}
This is an array "options" in my class .
public options =
[
{name : 'RegisterMe'},
{name : 'MY CLINICS'},
];
constructor(public viewCtrl: ViewController)
{
this.userStatus='Registered'
}
I want to hide RegisterMe option in list if the UserSTatus is Registered. How can i achieve this.
Thanks for help in advance