Remove segment for app-diplomas

This commit is contained in:
Peter Maquiran
2021-05-18 11:42:16 +01:00
parent 85c113010d
commit 23dac7e18c
2 changed files with 8 additions and 4 deletions
@@ -1,4 +1,4 @@
<ion-header>
<ion-header class="ion-no-border">
<div class="title">
<div class="thetitle"><ion-label >Diplomas</ion-label></div>
<div class="theicon">
@@ -7,7 +7,7 @@
</button>
</div>
</div>
<ion-toolbar>
<!-- <ion-toolbar>
<ion-segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
<ion-segment-button value="validar">
Diplomas por validar
@@ -16,7 +16,7 @@
Diplomas assinados PR
</ion-segment-button>
</ion-segment>
</ion-toolbar>
</ion-toolbar> -->
</ion-header>
<ion-content>
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
@@ -28,6 +28,7 @@ constructor(
private alertService: AlertService,
) {
this.profile = 'mdgpr';
this.segment = 'validar'
}
ngOnInit() {
@@ -44,8 +45,11 @@ notImplemented(){
}
async LoadList(){
this.diplomasList = new Array();
let diplomas = await this.processes.GetTasksList("Despacho do Presidente da República", false).toPromise();
this.diplomasList = new Array();
console.log(diplomas);
switch (this.segment) {
case 'validar':