Perbaikan Project PPOB
This commit is contained in:
		| @@ -8,7 +8,8 @@ export class Authentication { | ||||
|   isLoginLoading = false; | ||||
|   ctx; | ||||
|   profileData = {}; | ||||
|   dataProfit=[] | ||||
|   dataProfit=[]; | ||||
|   listImage=[]; | ||||
|  | ||||
|   constructor(ctx) { | ||||
|     this.ctx = ctx; | ||||
| @@ -57,6 +58,7 @@ export class Authentication { | ||||
|       const response = await http.get(`/auth/profile/${id}`); | ||||
|       console.log(response) | ||||
|       this.dataProfit = response.body ?? []; | ||||
|       this.listImage = this.dataProfit.userDetail ? JSON.parse(this.dataProfit.userDetail?.image_store) : []; | ||||
|       this.total_data = response?.body?.count ?? 0; | ||||
|     } catch (e) { | ||||
|       console.error(e); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user