[Library]: search-tab.component.ts: [SEO (interlinking)] in <search-tab> added an invisible link to advanced search page when status is LOADING (with disabled javascript this is the status of the tabs).

This commit is contained in:
Konstantina Galouni 2021-12-01 16:39:39 +02:00
parent 8ad3eff16b
commit ca430fd89f
1 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@ import {ErrorCodes} from "../../properties/errorCodes";
template: `
<errorMessages *ngIf="resultType" [status]="[fetch.searchUtils.status]" [type]="getEntityName(resultType, true, true)"
tab_error_class=true></errorMessages>
<a *ngIf="fetch.searchUtils.status == errorCodes.LOADING" class="uk-invisible"
[queryParams]="params" [routerLink]="searchLinkToAdvancedPage"></a>
<div *ngIf="fetch.searchUtils.status == errorCodes.DONE">
<div class="tab-header">