From 2349912c7376f4e46caa64ed7775d6a2144e324e Mon Sep 17 00:00:00 2001 From: "ajat91.sudrajat" Date: Thu, 23 Dec 2021 17:06:49 +0700 Subject: [PATCH] Repair Menu --- src/component/ProductComponent.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/component/ProductComponent.js b/src/component/ProductComponent.js index 5af5ac9..0087f07 100644 --- a/src/component/ProductComponent.js +++ b/src/component/ProductComponent.js @@ -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 {