bug fix na agenda preview event from next year

This commit is contained in:
Eudes Inácio
2023-11-09 10:28:58 +01:00
parent 1258517799
commit 2009eec929
5 changed files with 6 additions and 6 deletions
@@ -49,7 +49,7 @@ export class EditProfilePage implements OnInit {
} else { } else {
this.profilePicture = ""; this.profilePicture = "";
} }
console.log(picture) /* console.log(picture) */
}).catch((error) => { }).catch((error) => {
this.profilePicture = ""; this.profilePicture = "";
}) })
+1 -1
View File
@@ -103,7 +103,7 @@ export class ProfilePage implements OnInit {
} else { } else {
this.profilePicture = ""; this.profilePicture = "";
} }
console.log(picture) /* console.log(picture) */
}).catch((error ) => { }).catch((error ) => {
this.profilePicture = ""; this.profilePicture = "";
}) })
+1 -1
View File
@@ -238,7 +238,7 @@
<div *ngFor="let event of day.events " class="EventListBox mb-10" > <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)" <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"> <div class="schedule-time" *ngIf="!event.event.IsAllDayEvent">
+2 -2
View File
@@ -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.storageService.store(this.SessionStore.user.RoleID.toString(), 'data:image/jpeg;base64,' + base).then((value) => {
this.profilePicture = 'data:image/jpeg;base64,' + base; this.profilePicture = 'data:image/jpeg;base64,' + base;
console.log('picture saved', value) console.log('picture saved')
}).catch((error) => { }).catch((error) => {
console.log('picture not saved') console.log('picture not saved')
}); });
}, (error) => { }, (error) => {
console.log('profile picture errro: ', error) console.log('profile picture errro: ', error)
this.storageService.get(this.SessionStore.user.RoleID.toString()).then((picture) => { this.storageService.get(this.SessionStore.user.RoleID.toString()).then((picture) => {
console.log(picture) /* console.log(picture) */
this.profilePicture = picture this.profilePicture = picture
}).catch((error) => { }).catch((error) => {
this.profilePicture = ""; this.profilePicture = "";
File diff suppressed because one or more lines are too long