Skip to content
Snippets Groups Projects
Commit 9851abea authored by Florent Poittevin's avatar Florent Poittevin
Browse files

style: ux improvment by hidding scope filter or navigation in archive browsing depending of search

parent 15ff0cb0
No related branches found
No related tags found
No related merge requests found
<dlcm-home-search-filter *ngIf="isLoggedInObs | async"
<dlcm-home-search-filter *ngIf="!(searchObs | async | isNullOrUndefined) && (searchObs | async | isNonEmptyString)"
[searchScope]="searchScopeObs | async"
(searchScopeChange)="searchScopeChange($event)"
>
......@@ -9,10 +9,14 @@
(valueChange)="search($event)"
[value]="searchObs | async"
></dlcm-shared-search>
<div class="or">
<div *ngIf="(searchObs | async | isNullOrUndefined) || !(searchObs | async | isNonEmptyString)"
class="or"
>
{{'home.or' | translate}}
</div>
<div class="button-wrapper">
<div *ngIf="(searchObs | async | isNullOrUndefined) || !(searchObs | async | isNonEmptyString)"
class="button-wrapper"
>
<button mat-button
color="primary"
(click)="goToArchivalBrowsing()"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment