Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 33ab99b

Browse files
committed
fix(toolbar): Renamed viewsTemplate to viewTemplate
1 parent 134520d commit 33ab99b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/toolbar/toolbar.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
</div>
2222
<div class="toolbar-pf-action-right">
2323
<div class="form-group toolbar-pf-view-selector"
24-
*ngIf="viewsTemplate !== undefined || (config.views)">
25-
<ng-template [ngTemplateOutlet]="viewsTemplate" [ngOutletContext]="{}"></ng-template>
24+
*ngIf="viewTemplate !== undefined || (config.views)">
25+
<ng-template [ngTemplateOutlet]="viewTemplate" [ngOutletContext]="{}"></ng-template>
2626
<span *ngIf="config.views">
2727
<button *ngFor="let view of config.views" class="btn btn-link"
2828
[ngClass]="{'active': isViewSelected(view), 'disabled': view.disabled === true}"

src/app/toolbar/toolbar.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class ToolbarComponent implements OnInit {
4040
/**
4141
* The name of the template containing views
4242
*/
43-
@Input() viewsTemplate: TemplateRef<any>;
43+
@Input() viewTemplate: TemplateRef<any>;
4444

4545
/**
4646
* The event emitted when an action (e.g., button, kebab, etc.) has been selected

0 commit comments

Comments
 (0)