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:
+1
-1
@@ -252,7 +252,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
component: PopupQuestionPage,
|
||||
componentProps: {
|
||||
title: 'Deseja assinar este Diploma?',
|
||||
message: 'Nota: Ao Efetuar esta operação, o tratamento deste diploma não poderá ser realizado a partir da caixa de correspondência'
|
||||
/* message: 'Nota: Ao Efetuar esta operação, o tratamento deste diploma não poderá ser realizado a partir da caixa de correspondência' */
|
||||
},
|
||||
cssClass: "popup-question discart-expedient-modal",
|
||||
backdropDismiss: true
|
||||
|
||||
@@ -98,10 +98,10 @@
|
||||
</li>
|
||||
<!-- Sender -->
|
||||
<li *ngIf="showAdvanceSearch" class="d-flex date-container ion-justify-content-between">
|
||||
<div class="icon-mer icon">
|
||||
<div *ngIf="checkRoutPublication" class="icon-mer icon">
|
||||
<ion-icon name="restaurant-outline" src="assets/images/icons-advance-search-sender.svg"></ion-icon>
|
||||
</div>
|
||||
<div class="input-container d-flex ion-align-items-center">
|
||||
<div *ngIf="checkRoutPublication" class="input-container d-flex ion-align-items-center">
|
||||
<ion-input [(ngModel)]='searchSenderdescription' class="search-input cursor-pointer" (click)="openAdvanceSearchSelection()" type="search" placeholder="Remetentes"></ion-input>
|
||||
<div class="icon cursor-pointer" (click)="clearInputRemetente()" >
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||
@@ -111,10 +111,10 @@
|
||||
</li>
|
||||
<!-- Organic entity -->
|
||||
<li *ngIf="showAdvanceSearch" class="d-flex date-container ion-justify-content-between">
|
||||
<div class="icon-mer icon">
|
||||
<div *ngIf="checkRoutPublication" class="icon-mer icon">
|
||||
<ion-icon name="restaurant-outline" src="assets/images/icons-arrow-arrow-down-25-copy.svg"></ion-icon>
|
||||
</div>
|
||||
<div class="input-container d-flex ion-align-items-center">
|
||||
<div *ngIf="checkRoutPublication" class="input-container d-flex ion-align-items-center">
|
||||
<ion-input [(ngModel)]='searchOrganicEntiryDescription' class="search-input custom-checkbox" type="search" placeholder="Entidade Orgânica" (click)="openOrganicEntitySelection()"></ion-input>
|
||||
<div class="icon cursor-pointer" (click)="clearInputOrganicEntity()" >
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||
|
||||
@@ -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