Config Menu Product Partner
This commit is contained in:
parent
c7d3012bb1
commit
6d751f02b6
|
@ -120,6 +120,9 @@ 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") delete columns[4];
|
if (store.authentication.userData.role !== "Admin") delete columns[4];
|
||||||
|
if (store.authentication.userData.role !== "Admin") delete columns[2];
|
||||||
|
if (store.authentication.userData.role !== "Admin") delete columns[6];
|
||||||
|
|
||||||
const deleteData = async (id) => {
|
const deleteData = async (id) => {
|
||||||
try {
|
try {
|
||||||
console.log(id);
|
console.log(id);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user