diff --git a/packages/primevue/src/treetable/TreeTableRow.vue b/packages/primevue/src/treetable/TreeTableRow.vue index 3a8d93f025..56996c8a35 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' || event.target.tagName === 'path') { + 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') { return; }