Repair Menu
This commit is contained in:
parent
195e0e80e4
commit
2349912c73
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user