Skip to content

Commit

Permalink
fix(doc): Page fix package input name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarsiBarsi committed Dec 28, 2020
1 parent 6c85668 commit bdc32a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/addon-doc/src/components/page/page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class TuiDocPageComponent {
header = '';

@Input()
packageName = '';
package = '';

activeItemIndex = NaN;

Expand Down
6 changes: 3 additions & 3 deletions projects/addon-doc/src/components/page/page.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ <h1 class="title">
status="custom"
></tui-tag>
<tui-tag
*ngIf="packageName"
*ngIf="package"
class="tag"
[value]="packageName"
[value]="package"
[autoColor]="true"
></tui-tag>
</h1>
Expand Down Expand Up @@ -48,7 +48,7 @@ <h1 class="title">
<tui-doc-source-code
class="source-code"
[header]="header"
[package]="packageName"
[package]="package"
></tui-doc-source-code>
</header>
<div class="content">
Expand Down

0 comments on commit bdc32a7

Please sign in to comment.