feat: hide column tindakan admin partner
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user