Skip to content

Commit

Permalink
Checking parent tab visibility as well when checking section visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalFlow committed Dec 29, 2020
1 parent 00f68bc commit 81bb6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrm/Section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Section {
const section = tab.sections.get(sectionName);

return {
isVisible: section.getVisible()
isVisible: section.getVisible() && tab.getVisible()
};
}, [tabName, sectionName]);
}
Expand Down

0 comments on commit 81bb6cc

Please sign in to comment.