mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
update profile picture after close modal
This commit is contained in:
@@ -148,7 +148,7 @@ export class EditProfilePage implements OnInit {
|
||||
const capturedImage = await Camera.getPhoto({
|
||||
width: 188,
|
||||
height: 188,
|
||||
quality: 50,
|
||||
quality: 100,
|
||||
// allowEditing: true,
|
||||
resultType: CameraResultType.Base64,
|
||||
source: CameraSource.Camera
|
||||
|
||||
@@ -422,6 +422,7 @@ export class ProfilePage implements OnInit {
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.isProfileOpen = false;
|
||||
this.getProfilpicture()
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div style="
|
||||
<div *ngIf="SessionStore.user.RoleID !== 100000014" style="
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
|
||||
@@ -487,4 +487,13 @@ export class ProcessesService {
|
||||
return this.http.get<any>(`${geturl}`, options);
|
||||
}
|
||||
|
||||
uploadFiles(file) {
|
||||
const geturl = environment.apiURL + 'Tasks/AttachDocImage';
|
||||
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
};
|
||||
return this.http.post<any>(`${geturl}`,file, options);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -223,6 +223,7 @@ export class HeaderPage implements OnInit {
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.notificationLengthData()
|
||||
this.getProfilpicture()
|
||||
this.showProfileModal = false
|
||||
})
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
export let versionData = {
|
||||
"shortSHA": "bf1337f5d",
|
||||
"SHA": "bf1337f5dbfbd28acef03ae1e02cf2086c126075",
|
||||
"shortSHA": "95e24aa1e",
|
||||
"SHA": "95e24aa1e4897a1845d3721aed464aa741703d78",
|
||||
"branch": "developer-prod",
|
||||
"lastCommitAuthor": "'Eudes Inácio'",
|
||||
"lastCommitTime": "'Wed Aug 30 11:17:17 2023 +0100'",
|
||||
"lastCommitMessage": "PR have the same actions that MD have on events to aprove",
|
||||
"lastCommitNumber": "5231",
|
||||
"lastCommitTime": "'Wed Aug 30 11:20:13 2023 +0100'",
|
||||
"lastCommitMessage": "pull made",
|
||||
"lastCommitNumber": "5236",
|
||||
"change": "",
|
||||
"changeStatus": "On branch developer-prod\nYour branch and 'origin/developer-prod' have diverged,\nand have 1 and 4 different commits each, respectively.\n (use \"git pull\" to merge the remote branch into yours)\n\nAll conflicts fixed but you are still merging.\n (use \"git commit\" to conclude merge)\n\nChanges to be committed:\n\tmodified: src/app/pages/agenda/agenda.page.html\n\tmodified: src/app/pages/agenda/agenda.page.ts\n\tmodified: src/app/shared/gabinete-digital/all-processes/all-processes.page.scss\n\tmodified: src/app/shared/gabinete-digital/despachos-pr/despachos-pr.page.scss\n\tmodified: src/app/shared/gabinete-digital/despachos/despachos.page.scss\n\tmodified: src/app/shared/gabinete-digital/diplomas/diplomas.page.scss\n\tmodified: src/app/shared/gabinete-digital/generic/task-list/task-list.page.scss\n\tmodified: src/global.scss",
|
||||
"changeStatus": "On branch developer-prod\nYour branch is up to date with 'origin/developer-prod'.\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/modals/profile/edit-profile/edit-profile.page.ts\n\tmodified: src/app/modals/profile/profile.page.ts\n\tmodified: src/app/pages/agenda/agenda.page.html\n\tmodified: src/app/services/processes.service.ts\n\tmodified: src/app/shared/header/header.page.ts",
|
||||
"changeAuthor": "eudes.inacio"
|
||||
}
|
||||
Reference in New Issue
Block a user