Merge branch 'develop' into 'devops-staging'
feat: hide column tindakan admin partner See merge request empatnusabangsa/ppob/ppob-frontend!170
This commit is contained in:
commit
bd3785e2f2
|
@ -140,6 +140,7 @@ export const ProductComponent = observer((props) => {
|
||||||
];
|
];
|
||||||
//if (store.authentication.userData.role !== "Admin") columns.pop();
|
//if (store.authentication.userData.role !== "Admin") columns.pop();
|
||||||
//if (store.authentication.userData.role === "Admin Partner") delete columns[2];
|
//if (store.authentication.userData.role === "Admin Partner") delete columns[2];
|
||||||
|
if (store.authentication.userData.role === "Admin Partner") delete columns[9];
|
||||||
if (store.authentication.userData.role === "Admin Partner") delete columns[3];
|
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 Partner") delete columns[4];
|
||||||
if (store.authentication.userData.role !== "Admin") delete columns[8];
|
if (store.authentication.userData.role !== "Admin") delete columns[8];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user