search page: delete 'active' param
This commit is contained in:
parent
a9e8a5c25a
commit
aca0de0fc1
|
@ -217,6 +217,7 @@ export class SearchAllComponent {
|
||||||
let active = null;
|
let active = null;
|
||||||
if (queryParams["active"] && queryParams["active"].length > 0) {
|
if (queryParams["active"] && queryParams["active"].length > 0) {
|
||||||
active = ((["result","projects","organizations","datasources","services"]).indexOf(queryParams["active"])!= -1)?queryParams["active"]:null;
|
active = ((["result","projects","organizations","datasources","services"]).indexOf(queryParams["active"])!= -1)?queryParams["active"]:null;
|
||||||
|
delete this.parameters['active'];
|
||||||
}
|
}
|
||||||
this.subs.push(this.route.params.subscribe(params => {
|
this.subs.push(this.route.params.subscribe(params => {
|
||||||
if(this.activeEntity == null && (!params["entity"] || params["entity"].length == 0)){
|
if(this.activeEntity == null && (!params["entity"] || params["entity"].length == 0)){
|
||||||
|
|
Loading…
Reference in New Issue