Repair Menu

This commit is contained in:
ajat91.sudrajat 2021-12-23 17:06:49 +07:00
parent 195e0e80e4
commit 2349912c73

View File

@ -121,7 +121,6 @@ export const ProductComponent = observer((props) => {
},
];
if (store.authentication.userData.role !== "Admin") columns.pop();
//if (store.authentication.userData.role !== "Admin") columns.shift();
if (store.authentication.userData.role !== "Admin") delete columns[4];
const deleteData = async (id) => {
try {