Improve search select document from searh

This commit is contained in:
Peter Maquiran
2021-04-19 11:38:34 +01:00
parent 38a0d93235
commit bd2a2fd3f4
+2 -2
View File
@@ -53,7 +53,7 @@ export class SearchPage implements OnInit {
windowWidth: number;
type : "Agenda" | "Correspondencia" | "AccoesPresidenciais" | "ArquivoDespachoElect" | "AccoesPresidenciais & ArquivoDespachoElect" = "Agenda";
select = false;
select: boolean = false;
constructor(private modalController: ModalController,
private search: SearchService,
@@ -67,7 +67,7 @@ export class SearchPage implements OnInit {
if(this.type == null || this.type == undefined) {
this.select = true;
this.select = false;
if(this.currentPath == '/home/agenda') {
this.type = "Agenda"