+
-
-
diff --git a/components/lib/organizationchart/OrganizationChartNode.vue b/components/lib/organizationchart/OrganizationChartNode.vue
index 959d94681..04bb4bbaf 100755
--- a/components/lib/organizationchart/OrganizationChartNode.vue
+++ b/components/lib/organizationchart/OrganizationChartNode.vue
@@ -1,36 +1,58 @@
-
+
- |
-
+
-
+
|
-
+
-
+
|
- |
- |
+
+
+ |
+
+
+ |
-
+
|
@@ -105,7 +128,7 @@ export default {
});
},
onNodeClick(event) {
- if (DomHandler.hasClass(event.target, 'p-node-toggler') || DomHandler.hasClass(event.target, 'p-node-toggler-icon')) {
+ if (DomHandler.getAttribute(event.target, 'nodeToggler') || DomHandler.getAttribute(event.target, 'nodeTogglerIcon')) {
return;
}
@@ -130,9 +153,6 @@ export default {
}
},
computed: {
- nodeContentClass() {
- return ['p-organizationchart-node-content', this.node.styleClass, { 'p-organizationchart-selectable-node': this.selectable, 'p-highlight': this.selected }];
- },
leaf() {
return this.node.leaf === false ? false : !(this.node.children && this.node.children.length);
},