Perbaikan Filter Pembayaran -> dibuat oleh saya
This commit is contained in:
@@ -6,6 +6,7 @@ export class Membership {
|
||||
pageSize = 10
|
||||
data = [];
|
||||
total_data = 0;
|
||||
dataTotal=0;
|
||||
|
||||
dataDetail = {};
|
||||
dataMember=[];
|
||||
@@ -36,8 +37,8 @@ export class Membership {
|
||||
// return item
|
||||
// }) ?? []
|
||||
|
||||
this.total_data = response?.body?.count ?? 0
|
||||
//console.log(this.total_data)
|
||||
this.dataTotal = response?.body?.count ?? 0
|
||||
//console.log(this.dataTotal)
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
@@ -66,7 +67,8 @@ export class Membership {
|
||||
return item
|
||||
}) ?? []
|
||||
|
||||
this.totalData = response?.body?.count ?? 0
|
||||
this.total_data = response?.body?.count ?? 0
|
||||
//console.log(this.total_data)
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user