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 29a376c commit 2bb4b11Copy full SHA for 2bb4b11
packages/uui-table/lib/uui-table-row.element.ts
@@ -56,17 +56,13 @@ export class UUITableRowElement extends SelectOnlyMixin(
56
private updateChildSelectOnly() {
57
if (this.slotCellNodes) {
58
this.slotCellNodes.forEach(el => {
59
- if (this.elementIsTableCell(el)) {
+ if (el instanceof UUITableCellElement) {
60
el.disableChildInteraction = this.selectOnly;
61
}
62
});
63
64
65
66
- private elementIsTableCell(element: unknown): element is UUITableCellElement {
67
- return element instanceof UUITableCellElement;
68
- }
69
-
70
render() {
71
return html` <slot @slotchanged=${this.updateChildSelectOnly}></slot> `;
72
0 commit comments