mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve search select document from searh
This commit is contained in:
@@ -53,7 +53,7 @@ export class SearchPage implements OnInit {
|
|||||||
windowWidth: number;
|
windowWidth: number;
|
||||||
|
|
||||||
type : "Agenda" | "Correspondencia" | "AccoesPresidenciais" | "ArquivoDespachoElect" | "AccoesPresidenciais & ArquivoDespachoElect" = "Agenda";
|
type : "Agenda" | "Correspondencia" | "AccoesPresidenciais" | "ArquivoDespachoElect" | "AccoesPresidenciais & ArquivoDespachoElect" = "Agenda";
|
||||||
select = false;
|
select: boolean = false;
|
||||||
|
|
||||||
constructor(private modalController: ModalController,
|
constructor(private modalController: ModalController,
|
||||||
private search: SearchService,
|
private search: SearchService,
|
||||||
@@ -67,7 +67,7 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
if(this.type == null || this.type == undefined) {
|
if(this.type == null || this.type == undefined) {
|
||||||
|
|
||||||
this.select = true;
|
this.select = false;
|
||||||
|
|
||||||
if(this.currentPath == '/home/agenda') {
|
if(this.currentPath == '/home/agenda') {
|
||||||
this.type = "Agenda"
|
this.type = "Agenda"
|
||||||
|
|||||||
Reference in New Issue
Block a user