diff --git a/src/pages/Membership/DetailUser.js b/src/pages/Membership/DetailUser.js index a635e23..ddc12c7 100644 --- a/src/pages/Membership/DetailUser.js +++ b/src/pages/Membership/DetailUser.js @@ -286,8 +286,8 @@ export const DetailUser = observer(() => { key: "failed_reason", }, ]; - if (store.authentication.userData.role !== "Admin") delete columns[1]; - if (store.authentication.userData.role !== "Admin") delete columns[2]; + if (store.authentication.userData.role !== "Admin") delete column[1]; + if (store.authentication.userData.role !== "Admin") delete column[2]; const routeData = [ {