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.
1 parent 69d179c commit 68f8c43Copy full SHA for 68f8c43
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