visibility rule fix on word builder
This commit is contained in:
parent
2b71cddc39
commit
14550e0536
|
@ -43,13 +43,12 @@ public class VisibilityRuleServiceImpl implements VisibilityRuleService {
|
|||
for(int i = 0; i < sources.size(); i++){
|
||||
if (properties.containsKey(sources.get(i).getVisibilityRuleSourceId()) && (isContained(properties.get(sources.get(i).getVisibilityRuleSourceId()), sources.get(i).getVisibilityRuleSourceValue()) || properties.get(sources.get(i).getVisibilityRuleSourceId()).equals(sources.get(i).getVisibilityRuleSourceValue()))) {
|
||||
this.elementVisibility.put(rule.getVisibilityRuleTargetId(), true);
|
||||
}else{
|
||||
} else {
|
||||
if (this.elementVisibility.containsKey(rule.getVisibilityRuleTargetId())) {
|
||||
this.elementVisibility.put(rule.getVisibilityRuleTargetId(), this.elementVisibility.get(rule.getVisibilityRuleTargetId()) || false);
|
||||
} else {
|
||||
this.elementVisibility.put(rule.getVisibilityRuleTargetId(), false);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue