mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-12 00:22:35 +01:00
fix(docs): async md load
This commit is contained in:
parent
e77829a465
commit
0026c02fdf
7 changed files with 73 additions and 33 deletions
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<ng-container *ngFor="let block of currentItem?.children">
|
||||
<ng-container [ngSwitch]="block.block">
|
||||
<ngx-md-block *ngSwitchCase="'markdown'" [source]="block.children"></ngx-md-block>
|
||||
<ngx-md-block *ngSwitchCase="'markdown'" [content]="block.sections | async"></ngx-md-block>
|
||||
<ngx-component-block *ngSwitchCase="'component'" [source]="block.source"></ngx-component-block>
|
||||
<ngx-tabbed-block *ngSwitchCase="'tabbed'" [source]="block.children" [tabs]="currentItem.tabs"></ngx-tabbed-block>
|
||||
<ngx-theme-block *ngSwitchCase="'theme'" [block]="block"></ngx-theme-block>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue