This commit is contained in:
tiago.kayaya
2021-06-30 16:26:35 +01:00
parent 24bd68867d
commit 9e7a6b0503
2 changed files with 8 additions and 1 deletions
@@ -75,7 +75,8 @@
desktopComponent.showViewPublication == false &&
desktopComponent.showAddNewPublication == false &&
desktopComponent.showPublicationDetail == false &&
desktopComponent.showAddActions == false
desktopComponent.showAddActions == false &&
desktopComponent.showEditActions == false
)"><div>Nenhuma ação presidencial selecionada</div></div>
<!-- View Publication -->
@@ -275,6 +275,7 @@ export class PublicationsPage implements OnInit {
showAddNewPublication: false,
showPublicationDetail: false,
showAddActions: false,
showEditActions: false,
}
}
@@ -315,6 +316,11 @@ export class PublicationsPage implements OnInit {
await modal.present();
modal.onDidDismiss().then(res =>{
if(res['data']=='edit'){
//this.closeDesktopComponent();
this.desktopComponent.showViewPublication = false,
this.desktopComponent.showAddNewPublication = false,
this.desktopComponent.showPublicationDetail = false,
this.desktopComponent.showAddActions = false,
this.desktopComponent.showEditActions = true;
}
});