[Monitor Dashboard & Library | develop]: search.module.ts: Set in landing routes data: {hasMenuSearchBar: true} to show search bar in menu. | navigationBar.component.ts: If properties.searchLinkToAll is undefined, navigate to properties.searchLinkToAll from menu search bar.
This commit is contained in:
parent
3aee0bcca2
commit
110c854523
|
@ -258,7 +258,7 @@ export class NavigationBarComponent implements OnInit, OnDestroy, OnChanges {
|
|||
parameterNames.push("f0");
|
||||
parameterValues.push("q");
|
||||
}
|
||||
this.router.navigate([this.properties.searchLinkToAll], {queryParams: this.routerHelper.createQueryParams(parameterNames, parameterValues)});
|
||||
this.router.navigate([this.properties.searchLinkToAll ? this.properties.searchLinkToAll : this.properties.searchLinkToResults], {queryParams: this.routerHelper.createQueryParams(parameterNames, parameterValues)});
|
||||
if(canvas) {
|
||||
this.closeCanvas(canvas);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue