mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
hide fild from search on publications route
This commit is contained in:
@@ -89,6 +89,7 @@ export class SearchPage implements OnInit {
|
||||
select: boolean = false;
|
||||
|
||||
showSearchInput = false
|
||||
checkRoutPublication: boolean;
|
||||
|
||||
|
||||
@ViewChild('picker1') picker1: any;
|
||||
@@ -114,13 +115,16 @@ export class SearchPage implements OnInit {
|
||||
|
||||
if (this.currentPath.includes('/home/agenda')) {
|
||||
this.type = "Agenda"
|
||||
|
||||
} else if (this.currentPath.includes('/home/gabinete-digital')) {
|
||||
this.type = "AccoesPresidenciais & ArquivoDespachoElect"
|
||||
|
||||
|
||||
} else if (this.currentPath.includes('/home/publications')) {
|
||||
this.type = "AccoesPresidenciais"
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -193,6 +197,14 @@ export class SearchPage implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
if(this.currentPath.includes('/home/publications')) {
|
||||
this.checkRoutPublication = false;
|
||||
console.log(this.checkRoutPublication)
|
||||
} else {
|
||||
this.checkRoutPublication = true;
|
||||
console.log(this.checkRoutPublication)
|
||||
}
|
||||
|
||||
this.wordCloud();
|
||||
|
||||
window.onresize = (event) => {
|
||||
|
||||
Reference in New Issue
Block a user