ngx-sp-infra 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9629,7 +9629,8 @@ class TableComponent {
|
|
|
9629
9629
|
this.colspanWidth = (this.headers ? this.headers.length + (this.useSelection ? 1 : 0) : 12).toString();
|
|
9630
9630
|
this._renderer.setAttribute(this.emptyListTD.nativeElement, 'colspan', this.colspanWidth);
|
|
9631
9631
|
const checkbox = document.getElementById('tableCheckAll');
|
|
9632
|
-
|
|
9632
|
+
if (checkbox)
|
|
9633
|
+
checkbox.checked = false; // desmarca o checkbox geral quando a tabela está vazia
|
|
9633
9634
|
}
|
|
9634
9635
|
this._cdr.detectChanges(); // Forçar uma nova detecção após a atualização do colspan
|
|
9635
9636
|
}
|