diff --git a/packages/primevue/src/treetable/TreeTableRow.vue b/packages/primevue/src/treetable/TreeTableRow.vue index 56996c8a35..adcd0bca6b 100755 --- a/packages/primevue/src/treetable/TreeTableRow.vue +++ b/packages/primevue/src/treetable/TreeTableRow.vue @@ -156,7 +156,7 @@ export default { this.$emit('node-toggle', this.node); }, onClick(event) { - if (isClickable(event.target) || getAttribute(event.target, 'data-pc-section') === 'nodetogglebutton' || getAttribute(event.target, 'data-pc-section') === 'rowtoggleicon' || getAttribute(event.target, 'data-pc-section') === 'nodetoggleicon' || event.target.tagName === 'path') { + if (isClickable(event.target) || getAttribute(event.target, 'data-pc-section') === 'nodetogglebutton' || getAttribute(event.target, 'data-pc-section') === 'nodetoggleicon' || event.target.tagName === 'path') { return; }