mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
seach by pressing enter
This commit is contained in:
@@ -463,15 +463,15 @@ export class SearchPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
clearInputRemetente(){
|
||||
clearInputRemetente() {
|
||||
this.searchSender = "";
|
||||
}
|
||||
|
||||
clearInputDocumentDate(){
|
||||
clearInputDocumentDate() {
|
||||
this.searchDocumentDate = "";
|
||||
}
|
||||
|
||||
clearInputOrganicEntity(){
|
||||
clearInputOrganicEntity() {
|
||||
this.searchOrganicEntiry = "";
|
||||
}
|
||||
|
||||
@@ -516,7 +516,6 @@ export class SearchPage implements OnInit {
|
||||
classs = 'search-desktop-modal search-submodal'
|
||||
}
|
||||
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: OrganicEntityPage,
|
||||
cssClass: classs,
|
||||
@@ -532,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;
|
||||
|
||||
@@ -563,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',
|
||||
|
||||
Reference in New Issue
Block a user