profile page
This commit is contained in:
@@ -424,8 +424,8 @@ export class ActivetaskPage implements OnInit {
|
||||
console.log(`${key}: ${value}`);
|
||||
}
|
||||
|
||||
var blob = new Blob([ result.files[0].data ], { type: result.files[0].mimeType });
|
||||
var file = new File([blob], result.files[0].name, {type: result.files[0].mimeType });
|
||||
// var blob = new Blob([ result.files[0].data ], { type: result.files[0].mimeType });
|
||||
var file = new File([result.files[0].blob], result.files[0].name, {type: result.files[0].mimeType });
|
||||
//return;
|
||||
await loading.present();
|
||||
this.mediaConnectService.uploadtaskFile(this.uploadFormData, file).subscribe(
|
||||
|
||||
@@ -206,6 +206,9 @@
|
||||
<ion-icon name="chevron-forward-outline" color="medium"></ion-icon>
|
||||
</ion-item>
|
||||
</div>
|
||||
<div style="text-align: center; font-size: 11px; color: green;">
|
||||
ID: {{app_user_id}}
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -72,7 +72,7 @@ ion-content {
|
||||
}
|
||||
}
|
||||
.pad_logout{
|
||||
padding-top: 50px;
|
||||
padding-top: 35px;
|
||||
color:red;
|
||||
&.ion_label_red{
|
||||
color:red;
|
||||
|
||||
@@ -16,6 +16,7 @@ export class ProfilePage implements OnInit {
|
||||
profilePicture:string='';
|
||||
accountType:string="FULL";
|
||||
etag:string='';
|
||||
app_user_id:string='';
|
||||
|
||||
constructor(
|
||||
private router: Router,
|
||||
@@ -29,6 +30,7 @@ export class ProfilePage implements OnInit {
|
||||
addEventListener('profile_picture_updated', () => {
|
||||
this.setProfilePicture();
|
||||
});
|
||||
this.app_user_id = this.sessionDataProviderService.member_uid.substring(0,8);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user