Merge branch 'develop' into 'devops-staging'
fix: change hide action column on admin and supervisor See merge request empatnusabangsa/ppob/ppob-frontend!12
This commit is contained in:
commit
f76e2e6638
|
@ -171,7 +171,7 @@ export const Membership = observer(() => {
|
|||
>
|
||||
{record?.isActive === true ? "Inactive" : "Active"}
|
||||
</Button>
|
||||
<Button
|
||||
{store.authentication.userData.role === ('Admin' && 'Supervisor') && <Button
|
||||
onClick={() => {
|
||||
setDestination(record?.id);
|
||||
console.log(record?.id);
|
||||
|
@ -179,7 +179,7 @@ export const Membership = observer(() => {
|
|||
}}
|
||||
>
|
||||
<DownloadOutlined/> Top Up Saldo
|
||||
</Button>
|
||||
</Button>}
|
||||
<Button
|
||||
onClick={() => {
|
||||
let record2 = record;
|
||||
|
@ -224,7 +224,6 @@ export const Membership = observer(() => {
|
|||
},
|
||||
];
|
||||
|
||||
if (store.authentication.userData.role !== "Admin") columns.pop();
|
||||
const routeData = [
|
||||
{
|
||||
route: LINKS.HOME,
|
||||
|
|
Loading…
Reference in New Issue
Block a user