Skip to content

Commit

Permalink
Fixed #6932
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Dec 10, 2024
1 parent 60de0a3 commit 77fe1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/treetable/TreeTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 77fe1dc

Please sign in to comment.