Bug Fixing Menu Membership
This commit is contained in:
parent
9196c5b573
commit
6aba46aca3
|
@ -415,14 +415,13 @@ export const Membership = observer(() => {
|
|||
>
|
||||
<List.Item.Meta
|
||||
className={["cariparkir-container"].join(" ")}
|
||||
title={item.name}
|
||||
title={item.user_detail?.name}
|
||||
description={
|
||||
<div style={{}}>
|
||||
<p>
|
||||
<small>Saldo System : {item.name}</small> <br />
|
||||
<small>Role : {item.roleName}</small> <br />
|
||||
<small>Role : {item.roles?.name}</small> <br />
|
||||
<small>
|
||||
Saldo Supplier : {item.coa?.amount}
|
||||
Saldo : {item.coa?.amount}
|
||||
</small>{" "}
|
||||
<br />
|
||||
<Button
|
||||
|
|
|
@ -26,7 +26,7 @@ export class Membership {
|
|||
const response = await http.get(`/users?page=${this.page}&pageSize=${this.pageSize}&superior=${this.filterMembership}&type=${this.filterPartner}`);
|
||||
console.log(this.filterMembership)
|
||||
// console.log(this.filterPartner)
|
||||
//console.log(response)
|
||||
console.log(response)
|
||||
this.dataMember = response.body.data ?? []
|
||||
// this.dataMember = response.body.data.map((item, idx) => {
|
||||
// item.key = idx;
|
||||
|
@ -38,7 +38,7 @@ export class Membership {
|
|||
// }) ?? []
|
||||
|
||||
this.dataTotal = response?.body?.count ?? 0
|
||||
//console.log(this.dataTotal)
|
||||
console.log(this.dataTotal)
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user