This commit is contained in:
tiago.kayaya
2021-03-29 17:01:11 +01:00
parent b1817428d9
commit 7ee9352a59
5 changed files with 11 additions and 11 deletions
@@ -4,7 +4,7 @@
<ion-icon (click)="close()" src="assets/images/icons-arrow-arrow-left.svg"></ion-icon>
</div>
<div class="header-title">
<label>Eventos para Aprovação</label>
<label>1Eventos para Aprovação</label>
</div>
<!-- <ion-toolbar>
@@ -15,7 +15,7 @@
<ion-title>Eventos para Aprovação</ion-title>
</ion-toolbar> -->
<ion-toolbar>
<ion-segment [(ngModel)]="segment">
<ion-segment [(ngModel)]="profile">
<ion-segment-button value="MDGPR">
Seu calendário
</ion-segment-button>
@@ -33,7 +33,7 @@
<ion-refresher-content>
</ion-refresher-content>
</ion-refresher>
<div [ngSwitch]="segment">
<div [ngSwitch]="profile">
<ion-list *ngSwitchCase="'MDGPR'">
<div *ngIf="eventsMDGPRList">
<ion-list>
@@ -22,7 +22,7 @@ export class EventListComponent implements OnInit {
categories: string[];
serialnumber:string;
@Input() segment:string;
@Input() profile:string;
@Output() cloneAllmobileComponent = new EventEmitter<any>();
@Output() approveEventDismiss = new EventEmitter<any>();
@@ -36,7 +36,7 @@ export class EventListComponent implements OnInit {
ngOnInit() {
console.log(this.segment);
console.log(this.profile);
this.LoadToApproveEvents();
this.router.events.forEach((event) => {