mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
save
This commit is contained in:
@@ -121,6 +121,7 @@
|
|||||||
(closeDesktopComponent)="closeDesktopComponent($event)"
|
(closeDesktopComponent)="closeDesktopComponent($event)"
|
||||||
></app-new-action>
|
></app-new-action>
|
||||||
<app-edit-action>
|
<app-edit-action>
|
||||||
|
*ngIf="desktopComponent.showEditActions"
|
||||||
|
|
||||||
</app-edit-action>
|
</app-edit-action>
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ export class PublicationsPage implements OnInit {
|
|||||||
showViewPublication: false,
|
showViewPublication: false,
|
||||||
showAddNewPublication: false,
|
showAddNewPublication: false,
|
||||||
showPublicationDetail: false,
|
showPublicationDetail: false,
|
||||||
showAddActions: false
|
showAddActions: false,
|
||||||
|
showEditActions: false
|
||||||
}
|
}
|
||||||
|
|
||||||
folderId: string;
|
folderId: string;
|
||||||
@@ -314,7 +315,7 @@ export class PublicationsPage implements OnInit {
|
|||||||
await modal.present();
|
await modal.present();
|
||||||
modal.onDidDismiss().then(res =>{
|
modal.onDidDismiss().then(res =>{
|
||||||
if(res['data']=='edit'){
|
if(res['data']=='edit'){
|
||||||
this.desktopComponent.showAddActions = true;
|
this.desktopComponent.showEditActions = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user