mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
improve
This commit is contained in:
@@ -33,7 +33,7 @@ export class ViewPublicationsPage implements OnInit {
|
||||
@Output() goBackToViewPublications = new EventEmitter();
|
||||
@Output() closeDesktopComponent = new EventEmitter<any>();
|
||||
@Output() goBacktoPublicationDetails = new EventEmitter<any>();
|
||||
|
||||
@Output() getActions= new EventEmitter<any>();
|
||||
|
||||
publicationPipe = new PublicationPipe()
|
||||
|
||||
@@ -53,10 +53,10 @@ export class ViewPublicationsPage implements OnInit {
|
||||
this.folderId = this.folderId['ProcessId']
|
||||
}
|
||||
|
||||
this.getPublicationsIds();
|
||||
this.getPublicationDetail();
|
||||
//this.getPublicationsIds();
|
||||
|
||||
window['app-view-publications-page-doRefresh'] = this.doRefresh
|
||||
this.getPublicationDetail();
|
||||
}
|
||||
|
||||
ngOnChanges(changes: any): void {
|
||||
@@ -195,7 +195,8 @@ export class ViewPublicationsPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async openEditPublication(folderId?:any) {
|
||||
async openEditPublication(folderId?:any){
|
||||
|
||||
if( window.innerWidth < 701) {
|
||||
const modal = await this.modalController.create({
|
||||
component: EditActionPage,
|
||||
@@ -226,6 +227,8 @@ export class ViewPublicationsPage implements OnInit {
|
||||
finally {
|
||||
loader.remove()
|
||||
}
|
||||
this.close();
|
||||
this.getActions.emit();
|
||||
}
|
||||
|
||||
async viewPublicationDetail(publicationId:string) {
|
||||
|
||||
Reference in New Issue
Block a user