Skip to content

Commit

Permalink
fix: Minisidebar visiblity
Browse files Browse the repository at this point in the history
refactor: Remove @defer usage as currently it doesnt allow treeshaking of the component
  • Loading branch information
FilipLeitner authored and jmacura committed Feb 13, 2024
1 parent 842e238 commit 7eca3dd
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,11 @@
<div class="hs-panelspace-wrapper me-1">
<hs-sidebar class="border-0"></hs-sidebar>
<div class="hs-panelplace">
<hs-mini-sidebar *ngIf="HsLayoutService.minisidebar">
<hs-mini-sidebar *ngIf="HsLayoutService.mainpanel === 'sidebar'">
<!-- TODO: Remove function call from template -->
</hs-mini-sidebar>
<hs-panel-container [service]="HsPanelContainerService" class="hs-panelplace">
</hs-panel-container>

@defer(when HsLayoutService.mainpanel === 'print'){
<hs-print></hs-print>
}
</div>
</div>
</div>
Expand Down

0 comments on commit 7eca3dd

Please sign in to comment.