Config Page
This commit is contained in:
@@ -6,6 +6,7 @@ export class Membership {
|
||||
pageSize = 10
|
||||
data = [];
|
||||
total_data = 0
|
||||
dataDetail=[]
|
||||
|
||||
constructor(ctx) {
|
||||
this.ctx = ctx;
|
||||
@@ -32,7 +33,7 @@ export class Membership {
|
||||
try {
|
||||
const response = await http.get(`/users/`+id);
|
||||
console.log(response,'Data Detail')
|
||||
this.data = response.body.data
|
||||
this.dataDetail = response.body.data
|
||||
this.total_data = response?.body?.count ?? 0
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user