mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +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 {
|
} else {
|
||||||
this.profilePicture = "";
|
this.profilePicture = "";
|
||||||
}
|
}
|
||||||
console.log(picture)
|
/* console.log(picture) */
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
this.profilePicture = "";
|
this.profilePicture = "";
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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 = "";
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|
||||||
|
|||||||
@@ -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
Reference in New Issue
Block a user