fix eventos para approvação not opening

This commit is contained in:
Peter Maquiran
2023-03-09 12:21:09 +01:00
parent 070edbd4fa
commit 66be958e2d
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -248,7 +248,7 @@
<div class="height-100">
<div class="timeline-container height-100 d-flex pt-20 pl-20 pl-20 filter-{{segment}}" >
<div class="ss-timeline timeline-mobile flex-grow-1 d-md-none text-black height-100 width-100 overflow-y-auto" >
<div class="ss-timeline timeline-mobile flex-grow-1 pr-10 d-md-none text-black height-100 width-100 overflow-y-auto" >
<div *ngFor="let events of TimelineMDList | keyvalue;" >
<div class="EventListBox-container" >
@@ -481,7 +481,7 @@ export class GabineteDigitalPage implements OnInit {
/* else if (workflowName == "Expediente") {
this.router.navigate(['/home/gabinete-digital/pedidos',serialNumber,'gabinete-digital']);
} */
else if (workflowName == 'Agenda Pessoal PR' || workflowName == 'Agenda Oficial PR' || workflowName == 'Agenda Oficial MDGPR' || workflowName == 'Agenda Pessoal MDGPR') {
else if (workflowName == 'Agenda Pessoal PR' || workflowName == 'Agenda Oficial PR' || workflowName == 'Agenda Oficial MDGPR' || workflowName == 'Agenda Pessoal MDGPR' || activityName == 'Aprovar Evento') {
this.router.navigate(['/home/gabinete-digital/event-list/approve-event', serialNumber, 'gabinete-digital']);
}
else {
@@ -16,7 +16,7 @@ import { BackgroundService } from 'src/app/services/background.service';
import { ThemeService } from 'src/app/services/theme.service'
import { Storage } from '@ionic/storage';
import { PermissionService } from 'src/app/services/permission.service';
import { ActionModel } from 'src/app/models/beast-orm';
import { ActionModel, PublicationModel } from 'src/app/models/beast-orm';
@Component({
@@ -137,7 +137,7 @@ export class ViewPublicationsPage implements OnInit {
getPublicationDetail() {
this.showLoader = true;
const folderId = this.folderId
this.publications.GetPresidentialAction(folderId).subscribe(res=>{
this.publications.GetPresidentialAction(folderId).subscribe(res =>{
this.showLoader = false;
this.publicationItem[folderId] = res
this.storage.set(folderId+"name", res)