I need set multiple conditions in ngIf statement.
I have create Template for multiples users but some content i don't want to see for particular users like Super Admin, Admin, Section Users, Division User and Unit Leaders.
enum of users: ['s','a','d','u','c']
1> Super Admin -> s
2> Admin -> a
3> Division Supervisor -> d
4> Unit Leader -> u
5> Section Chief -> c
For example I want to show below button for just particular user login i tried below code work fine for two users but
<button *ngIf="menuUserType === 'a' || menuUserType !== 's' " class="btn-style red-btn" routerLink="/division/add-edit-division/0"><span class="material-icons">add</span>Add Division</button>
But when i try to apply for more user its not work and i get errors.
<button *ngIf="menuUserType === 'a' || menuUserType === 'c' || menuUserType !== 's' || menuUserType !== 'd' " class="btn-style red-btn" routerLink="/division/add-edit-division/0"><span class="material-icons">add</span>Add Division</button>
Error
So is there any solutions for that?
