mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Fixe agenda profile bug
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
|
||||
</ion-row>
|
||||
<ion-row class="ion-align-items-center">
|
||||
<ion-icon *ngIf="profile == 'mdgpr' " (click)="changeProfile()" class="right-icons d-md-none" src="assets/images/icons-profile-calendar-md.svg"></ion-icon>
|
||||
<ion-icon *ngIf="profile == 'pr' " (click)="changeProfile()" class="right-icons d-md-none" src="assets/images/icons-profile-calendar-pr.svg"></ion-icon>
|
||||
<ion-icon *ngIf="profile == 'mdgpr' " (click)="changeProfile()" class="right-icons d-md-none" src="assets/images/icons-profile-calendar-md.svg">ddddddd</ion-icon>
|
||||
<ion-icon *ngIf="profile == 'pr' " (click)="changeProfile()" class="right-icons d-md-none" src="assets/images/icons-profile-calendar-pr.svg">dddddddd</ion-icon>
|
||||
<ion-icon (click)="viewEventsToApprove()" class="right-icons" src="assets/images/icons-received-event.svg"></ion-icon>
|
||||
<ion-icon (click)="clearContact();openAddEvent()" class="right-icons" src="assets/images/icons-add-new-event.svg" ></ion-icon>
|
||||
</ion-row>
|
||||
|
||||
@@ -97,7 +97,8 @@ export class AgendaPage implements OnInit {
|
||||
@ViewChild(CalendarComponent) myCal: CalendarComponent;
|
||||
|
||||
segment:string;
|
||||
profile:string;
|
||||
|
||||
profile:'mdgpr' | 'pr';
|
||||
|
||||
eventsList: Event[];
|
||||
eventsListPessoal: Event[];
|
||||
@@ -153,7 +154,7 @@ export class AgendaPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.profile = "MDGPR";
|
||||
this.profile = "mdgpr";
|
||||
//Inicializar segment
|
||||
/* localStorage.setItem('test', this.eventSelectedDate.toString()); */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user