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:
Rahman Efendi 2022-05-12 10:02:38 +00:00
commit bd3785e2f2

View File

@ -140,6 +140,7 @@ export const ProductComponent = observer((props) => {
];
//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[9];
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];