mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
improve
This commit is contained in:
@@ -195,7 +195,7 @@ 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,
|
||||
@@ -207,15 +207,15 @@ export class ViewPublicationsPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(() => {
|
||||
//Do nothing
|
||||
// Do nothing
|
||||
});
|
||||
}
|
||||
else{
|
||||
else {
|
||||
this.editPublication.emit(folderId);
|
||||
}
|
||||
}
|
||||
|
||||
async deletePublication(folderId?:any){
|
||||
async deletePublication(folderId?:any) {
|
||||
const loader = this.toastService.loading();
|
||||
try {
|
||||
await this.publications.DeletePresidentialAction(folderId).toPromise();
|
||||
|
||||
Reference in New Issue
Block a user