Bug Fixing PPOB
This commit is contained in:
		| @@ -57,10 +57,9 @@ export class Authentication { | ||||
|   async getProfit(id) { | ||||
|     try { | ||||
|       const response = await http.get(`/auth/profile/${id}`); | ||||
|       console.log(response) | ||||
|       console.log(response,"Data Gambar Store") | ||||
|       this.dataProfit = response.body ?? []; | ||||
|       this.listImage = this.dataProfit.userDetail?.image_store ? JSON.parse(this.dataProfit.userDetail?.image_store) : []; | ||||
|       | ||||
|       this.listImage = this.dataProfit.userDetail?.image_store ? JSON.parse(this.dataProfit.userDetail?.image_store) : [];   | ||||
|       this.total_data = response?.body?.count ?? 0; | ||||
|     } catch (e) { | ||||
|       console.error(e); | ||||
| @@ -70,7 +69,7 @@ export class Authentication { | ||||
|   async getProfile() { | ||||
|     try { | ||||
|       const response = await http.get('/auth/profile'); | ||||
|       console.log(response) | ||||
|       console.log(response,"Data Profile") | ||||
|       this.profileData = response.body; | ||||
|       this.imageProfil = this.profileData.userDetail?.image_store ? JSON.parse(this.profileData.userDetail?.image_store) : []; | ||||
|       | ||||
|   | ||||
		Reference in New Issue
	
	Block a user