We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f53fe0e + 68f8c43 commit a5ecd31Copy full SHA for a5ecd31
src/app/components/data-viewer/data-viewer.component.html
@@ -52,7 +52,7 @@
52
<ng-container matColumnDef="checkbox">
53
<th mat-header-cell *matHeaderCellDef class="checkbox-col">
54
<mat-checkbox (change)="masterCheckboxToggle($event)"
55
- [checked]="hasKeys() && isAllSelected()"
+ [checked]="hasKeys() && isAllSelected() && data.length > 0"
56
[indeterminate]="hasKeys() && !isAllSelected()">
57
</mat-checkbox>
58
</th>
0 commit comments