Perbaikan PPOB

This commit is contained in:
2022-01-12 17:10:08 +07:00
parent c95d0c3f46
commit 248f844115
4 changed files with 52 additions and 23 deletions

View File

@@ -60,6 +60,7 @@ export class Authentication {
console.log(response)
this.dataProfit = response.body ?? [];
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);
@@ -72,6 +73,8 @@ export class Authentication {
console.log(response)
this.profileData = response.body;
this.imageProfil = this.profileData.userDetail?.image_store ? JSON.parse(this.profileData.userDetail?.image_store) : [];
//this.imageProfil = this.profileData.userDetail?.image_store ? JSON.parse(this.profileData.userDetail?.image_store) : [];
} catch (e) {
console.error(e);
}