Commit 8f56673a authored by Justine's avatar Justine
Browse files

corrections filterValue recherche legende

parent f6129a24
......@@ -48,7 +48,6 @@
</h3>
</header>
<div id="tabs-container">
<div *ngIf="mode === 'Information'" class="menu-panel panel flex-grow-1 m-2">
<ng-container *ngTemplateOutlet="information"></ng-container>
......@@ -66,7 +65,7 @@
<ng-container *ngTemplateOutlet="share"></ng-container>
</div>
<div *ngIf="rootLayerGroup && mode === 'Légende'" class="list-group panel flex-grow-1">
<div *ngIf="rootLayerGroup && (!!filterValue || mode === 'Légende')" class="list-group panel flex-grow-1">
<alk-legend-side [rootLayerGroup]="rootLayerGroup" [filterValue]="filterValue" [screenMode]="screenMode">
</alk-legend-side>
</div>
......
......@@ -19,9 +19,13 @@
<span *ngIf="layerGroup.getLayers().getArray().length > 0 && layerGroup.get('visibleChecked')"
class="flex-grow-1 layergroupName" [title]="layerGroup.get('name')">{{ layerGroup.get('name') }}</span>
<div *ngIf="layerGroup.get('visibleChecked')" class="layergroupbox-content" [ngbCollapse]="false">
<div *ngIf="!!filterValue && layerGroup.get('visibleChecked')"
class="layergroupbox-content" [ngbCollapse]="false">
<ng-container *ngTemplateOutlet="subTreeLayerGroup"></ng-container>
</div>
<!-- <div *ngIf="layerGroup.get('visibleChecked')" class="layergroupbox-content" [ngbCollapse]="false">
<ng-container *ngTemplateOutlet="subTreeLayerGroup"></ng-container>
</div> -->
<ng-template #subTreeLayerGroup>
<ng-container *ngFor="let baseLayer of layerGroup.getLayers().getArray(); index as bL ">
......
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