[develop]: Fix url in subcategories links in monitor page. Fix isSearch condition. Update library

This commit is contained in:
Konstantinos Triantafyllou 2024-10-08 13:16:54 +03:00
parent 18a187a7a5
commit f90d0e7351
3 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ export class AppComponent extends SidebarBaseComponent implements OnInit {
super();
this.initRouterParams(_route, event => {
this.isBrowse = event.url.includes('browse');
this.isSearch = event.url.includes('search');
this.isSearch = event.url.includes('search/find');
});
}
@ -309,7 +309,7 @@ export class AppComponent extends SidebarBaseComponent implements OnInit {
if(this.isChild) {
return this.stakeholder.parent.alias + '/browse/' + this.stakeholder.type + '/';
} else {
return '';
return '/';
}
}

View File

@ -55,7 +55,7 @@
<ng-template ngFor [ngForOf]="activeCategory.subCategories" let-subCategory>
<slider-tab *ngIf="hasPermission(subCategory.visibility)" [tabTitle]="subCategory.name"
[queryParams]="queryParams" customClass="uk-text-uppercase"
[routerLink]="['/', stakeholder.alias, activeTopic.alias, activeCategory.alias, subCategory.alias]"
[routerLink]="[aliasPrefix, stakeholder.alias, activeTopic.alias, activeCategory.alias, subCategory.alias]"
[active]="subCategory.alias === activeSubCategory.alias"></slider-tab>
</ng-template>
</slider-tabs>

@ -1 +1 @@
Subproject commit 2c609d3bd0bd65664b854641e3c0b7a421e16aba
Subproject commit 3d9e0f25e13c57330de0e04d24d3643acf629036