Fixed invalid html structure the ExpandableNavbarSectionComponent had an ul tag containing non-li tags

This commit is contained in:
Alexandre Vryghem
2023-09-28 11:50:24 +02:00
parent 58d31dd73f
commit fa56d5dfb7
11 changed files with 12 additions and 20 deletions

View File

@@ -14,9 +14,9 @@
</a>
<ul @slide *ngIf="(active | async)" (click)="deactivateSection($event)"
class="m-0 shadow-none border-top-0 dropdown-menu show">
<ng-container *ngFor="let subSection of (subSections$ | async)">
<li *ngFor="let subSection of (subSections$ | async)">
<ng-container
*ngComponentOutlet="(sectionMap$ | async).get(subSection.id).component; injector: (sectionMap$ | async).get(subSection.id).injector;"></ng-container>
</ng-container>
</li>
</ul>
</div>