Skip to content

Commit

Permalink
fix: fix setting of expand/collapse functionality
Browse files Browse the repository at this point in the history
Close #50
  • Loading branch information
paodb authored and javier-godoy committed Aug 10, 2021
1 parent f47e4ff commit 4b37950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/frontend/fc-orgchart.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class FCOrgChart extends PolymerElement {
*
*/
var chartExpandCollapse = state.chartExpandCollapse;
if(chartExpandCollapse){
if(!chartExpandCollapse){
this.querySelector(".orgchart").classList.add("noncollapsable")
} else {
this.querySelector(".orgchart").classList.remove("noncollapsable")
Expand Down

0 comments on commit 4b37950

Please sign in to comment.