search page: delete 'active' param

This commit is contained in:
Alex Martzios 2023-05-11 10:56:45 +03:00
parent a9e8a5c25a
commit aca0de0fc1
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ export class SearchAllComponent {
let active = null;
if (queryParams["active"] && queryParams["active"].length > 0) {
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 => {
if(this.activeEntity == null && (!params["entity"] || params["entity"].length == 0)){