Merge branch 'develop' into 'devops-staging'
feat: hide column tindakan for roles other than admin See merge request empatnusabangsa/ppob/ppob-frontend!166
This commit is contained in:
commit
be5852522c
|
@ -132,6 +132,7 @@ export const ProductComponent = observer((props) => {
|
|||
//if (store.authentication.userData.role === "Admin Partner") delete columns[2];
|
||||
if (store.authentication.userData.role === "Admin Partner") delete columns[3];
|
||||
if (store.authentication.userData.role != "Admin Partner") delete columns[4];
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[8];
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[6];
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[2];
|
||||
if (store.authentication.userData.role !== "Admin") delete columns[5];
|
||||
|
|
Loading…
Reference in New Issue
Block a user