Skip to content

Commit 4b37950

Browse files
paodbjavier-godoy
authored andcommitted
fix: fix setting of expand/collapse functionality
Close #50
1 parent f47e4ff commit 4b37950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/META-INF/frontend/fc-orgchart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class FCOrgChart extends PolymerElement {
108108
*
109109
*/
110110
var chartExpandCollapse = state.chartExpandCollapse;
111-
if(chartExpandCollapse){
111+
if(!chartExpandCollapse){
112112
this.querySelector(".orgchart").classList.add("noncollapsable")
113113
} else {
114114
this.querySelector(".orgchart").classList.remove("noncollapsable")

0 commit comments

Comments
 (0)