File tree Expand file tree Collapse file tree
apps/showcase/components/doc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { AppDocThemingSection } from './app.docthemingsection';
2626 <button type="button" (click)="activateTab(1)">API</button>
2727 </li>
2828 }
29- @if (_componentName() || themeDocs()) {
29+ @if (themeDocs()) {
3030 <li [ngClass]="{ 'doc-tabmenu-active': docService.activeTab() === 2 }">
3131 <button type="button" (click)="activateTab(2)">THEMING</button>
3232 </li>
@@ -47,7 +47,7 @@ import { AppDocThemingSection } from './app.docthemingsection';
4747 }
4848 }
4949
50- @if (_componentName() || themeDocs()) {
50+ @if (themeDocs()) {
5151 @defer (when docService.activeTab() === 2) {
5252 <app-docthemingsection [header]="header()" [docs]="themeDocs()" [componentName]="_componentName()" class="doc-tabpanel" [ngStyle]="{ display: docService.activeTab() === 2 ? 'flex' : 'none' }" />
5353 }
@@ -103,6 +103,7 @@ export class AppDoc implements OnInit, OnChanges {
103103
104104 ngOnInit ( ) {
105105 this . navigate ( ) ;
106+ console . log ( this . activeTab ( ) ) ;
106107 }
107108
108109 ngOnChanges ( changes : SimpleChanges ) {
You can’t perform that action at this time.
0 commit comments