Commit 3fc2db54 authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: unwanted list of archive detail in archive browsing

parent 313ce544
......@@ -17,30 +17,28 @@
<ng-template #readyToDisplay>
<ng-template [ngIf]="((listObs | async) | isNullOrUndefined) || ((listObs | async).length === 0)"
[ngIfElse]="isListArchive"
[ngIfElse]="isElementsInListArchive"
>
{{'homePage.browsing.archive.noArchive' | translate}}
</ng-template>
<ng-template #isListArchive>
<ng-template #isElementsInListArchive>
<ng-container *ngFor="let archive of listObs | async">
<ng-template [ngIf]="isArchiveDetail"
[ngIfElse]="listArchive"
>
<router-outlet></router-outlet>
</ng-template>
<ng-template [ngIf]="isArchiveDetail"
[ngIfElse]="listArchive"
>
<router-outlet></router-outlet>
</ng-template>
<ng-template #listArchive>
<ng-template #listArchive>
<ng-container *ngFor="let archive of listObs | async">
<dlcm-home-browsing-archive-presentational class="archive"
[archive]="archive"
(navigateDetailChange)="navigateDetail($event)"
>
</dlcm-home-browsing-archive-presentational>
</ng-template>
</ng-container>
</ng-container>
</ng-template>
</ng-template>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment