fix: #6932 TreeTable: Row selected on click at node toggle icon

pull/6933/head
KriXPello 2024-12-07 18:31:51 +03:00
parent 18367429f6
commit 95187bbb9f
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ export default {
this.$emit('node-toggle', this.node); this.$emit('node-toggle', this.node);
}, },
onClick(event) { 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; return;
} }