Skip to content

Commit

Permalink
Fix how node filter template gets its data.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 667635578
  • Loading branch information
Google AI Edge authored and copybara-github committed Aug 26, 2024
1 parent 4bea1be commit 343ed9a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
</paginator>
}
</div>
<ng-container *ngTemplateOutlet="nodeFilter;context:{'formControl': childrenStatsTableNodeFilter}">
<ng-container *ngTemplateOutlet="nodeFilter;context:{$implicit: childrenStatsTableNodeFilter}">
</ng-container>
<table class="children-stats-results" *ngIf="showResults"
border="0" cellspacing="0" cellpadding="0">
Expand Down Expand Up @@ -170,7 +170,7 @@
</paginator>
}
</div>
<ng-container *ngTemplateOutlet="nodeFilter;context:{'formControl': resultsTableNodeFilter}">
<ng-container *ngTemplateOutlet="nodeFilter;context:{$implicit: resultsTableNodeFilter}">
</ng-container>
<table class="results" *ngIf="showResults"
border="0" cellspacing="0" cellpadding="0">
Expand Down Expand Up @@ -237,7 +237,7 @@
</div>
</div>

<ng-template #nodeFilter let-formControl="formControl">
<ng-template #nodeFilter let-formControl>
<div class="node-filter">
<input placeholder="regex to filter nodes" [formControl]="formControl">
<mat-icon class="filter">filter_alt</mat-icon>
Expand Down

0 comments on commit 343ed9a

Please sign in to comment.