Improve attaching new files

This commit is contained in:
Peter Maquiran
2021-07-09 12:35:11 +01:00
parent 323aebc68d
commit 5bbb56c26d
5 changed files with 96 additions and 33 deletions
+8 -10
View File
@@ -463,15 +463,15 @@ export class SearchPage implements OnInit {
}
}
clearInputRemetente() {
clearInputRemetente(){
this.searchSender = "";
}
clearInputDocumentDate() {
clearInputDocumentDate(){
this.searchDocumentDate = "";
}
clearInputOrganicEntity() {
clearInputOrganicEntity(){
this.searchOrganicEntiry = "";
}
@@ -531,10 +531,10 @@ export class SearchPage implements OnInit {
}
async filterDocList(categoryName:string) {
async filterDocList(categoryName:string){
// show all category
if(this. showCategory == categoryName ) {
if(this. showCategory == categoryName ){
this.showSearchDocuments = this.searchDocuments;
@@ -562,12 +562,12 @@ export class SearchPage implements OnInit {
const ApplicationType = searchDocument.ApplicationType.toString()
const Id = searchDocument.Id
if(this.select == false) {
if(this.select == false){
if(this.type == "Agenda") {
const modal = await this.modalCtrl.create({
component: ViewEventPage,
componentProps: {
componentProps:{
eventId: Id
},
cssClass: 'modal modal-desktop',
@@ -575,7 +575,7 @@ export class SearchPage implements OnInit {
await modal.present();
modal.onDidDismiss().then((res)=>{});
} else if(this.type == "AccoesPresidenciais") {
} else if(this.type == "AccoesPresidenciais"){
this.viewPublicationDetail(Id);
}
@@ -585,8 +585,6 @@ export class SearchPage implements OnInit {
}
} else {
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!', this.select)
}
}