mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Improve home publication
This commit is contained in:
@@ -34,11 +34,13 @@ export class PublicationsPage implements OnInit {
|
||||
|
||||
desktopComponent: any = {
|
||||
showViewPublication: false,
|
||||
showAddNewPublication: false
|
||||
showAddNewPublication: false,
|
||||
showPublicationDetail: false
|
||||
}
|
||||
|
||||
folderId: string;
|
||||
publicationType: any;
|
||||
publicationId: string;
|
||||
|
||||
constructor(
|
||||
private router: Router,
|
||||
@@ -181,14 +183,21 @@ export class PublicationsPage implements OnInit {
|
||||
this.desktopComponent.showAddNewPublication = true;
|
||||
}
|
||||
|
||||
async closeDesktopComponent (){
|
||||
async openPublicationDetails(publicationId: string){
|
||||
|
||||
this.publicationId = publicationId;
|
||||
|
||||
this.closeDesktopComponent();
|
||||
this.desktopComponent.showPublicationDetail = true;
|
||||
|
||||
this.desktopComponent.showViewPublication = false;
|
||||
this.desktopComponent.showAddNewPublication = false;
|
||||
}
|
||||
|
||||
async closeDesktopComponent (xx?: any){
|
||||
|
||||
this.desktopComponent = {
|
||||
showViewPublication: false,
|
||||
showAddNewPublication: false
|
||||
showAddNewPublication: false,
|
||||
showPublicationDetail: false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user