mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
bug fix na agenda preview event from next year
This commit is contained in:
@@ -49,7 +49,7 @@ export class EditProfilePage implements OnInit {
|
||||
} else {
|
||||
this.profilePicture = "";
|
||||
}
|
||||
console.log(picture)
|
||||
/* console.log(picture) */
|
||||
}).catch((error) => {
|
||||
this.profilePicture = "";
|
||||
})
|
||||
|
||||
@@ -103,7 +103,7 @@ export class ProfilePage implements OnInit {
|
||||
} else {
|
||||
this.profilePicture = "";
|
||||
}
|
||||
console.log(picture)
|
||||
/* console.log(picture) */
|
||||
}).catch((error ) => {
|
||||
this.profilePicture = "";
|
||||
})
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
<div *ngFor="let event of day.events " class="EventListBox mb-10" >
|
||||
<div class="d-flex content-{{event.profile}}-{{event.event.CalendarName}} mt-10 cursor-pointer width-100 " (click)="eventClicked(event)"
|
||||
*ngIf="viewEventMonth <= dateMonth(event) ">
|
||||
>
|
||||
|
||||
<div class="schedule-time" *ngIf="!event.event.IsAllDayEvent">
|
||||
|
||||
|
||||
@@ -108,14 +108,14 @@ export class HeaderPage implements OnInit {
|
||||
this.storageService.store(this.SessionStore.user.RoleID.toString(), 'data:image/jpeg;base64,' + base).then((value) => {
|
||||
this.profilePicture = 'data:image/jpeg;base64,' + base;
|
||||
|
||||
console.log('picture saved', value)
|
||||
console.log('picture saved')
|
||||
}).catch((error) => {
|
||||
console.log('picture not saved')
|
||||
});
|
||||
}, (error) => {
|
||||
console.log('profile picture errro: ', error)
|
||||
this.storageService.get(this.SessionStore.user.RoleID.toString()).then((picture) => {
|
||||
console.log(picture)
|
||||
/* console.log(picture) */
|
||||
this.profilePicture = picture
|
||||
}).catch((error) => {
|
||||
this.profilePicture = "";
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user