Skip to content

Commit a5ecd31

Browse files
authored
Merge pull request #456 from kinfkong/issue-334
fix issue #334
2 parents f53fe0e + 68f8c43 commit a5ecd31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/data-viewer/data-viewer.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<ng-container matColumnDef="checkbox">
5353
<th mat-header-cell *matHeaderCellDef class="checkbox-col">
5454
<mat-checkbox (change)="masterCheckboxToggle($event)"
55-
[checked]="hasKeys() && isAllSelected()"
55+
[checked]="hasKeys() && isAllSelected() && data.length > 0"
5656
[indeterminate]="hasKeys() && !isAllSelected()">
5757
</mat-checkbox>
5858
</th>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy