mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
create function to mark active item in list on accoes presidenciais
This commit is contained in:
@@ -225,6 +225,7 @@
|
||||
(goBackToViewPublications)="goBackToViewPublications()"
|
||||
(closeDesktopComponent)="closeDesktopComponent($event)"
|
||||
(getActions)="getActions()"
|
||||
(ativaClasse)="ativaClasse($event)"
|
||||
>
|
||||
</app-view-publications>
|
||||
|
||||
|
||||
@@ -343,6 +343,10 @@ export class PublicationsPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
ativaClasse(folderId: string){
|
||||
this.idSelected = folderId;
|
||||
}
|
||||
|
||||
async viewPublications(folderId: string) {
|
||||
this.folderId = folderId
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
@Output() closeDesktopComponent = new EventEmitter<any>();
|
||||
@Output() goBacktoPublicationDetails = new EventEmitter<any>();
|
||||
@Output() getActions= new EventEmitter<any>();
|
||||
@Output() ativaClasse= new EventEmitter<any>();
|
||||
|
||||
publicationPipe = new PublicationPipe()
|
||||
|
||||
@@ -252,6 +253,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
// }
|
||||
|
||||
this.openPublicationDetails.emit(publicationId);
|
||||
this.ativaClasse.emit(this.folderId);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user