From 81bb6cc9fe7aee0bc525bb397329b27ab9b3d8d3 Mon Sep 17 00:00:00 2001 From: Florian Kroenert Date: Tue, 29 Dec 2020 02:52:20 +0100 Subject: [PATCH] Checking parent tab visibility as well when checking section visibility --- src/xrm/Section.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrm/Section.ts b/src/xrm/Section.ts index 718cf99..61f2e13 100644 --- a/src/xrm/Section.ts +++ b/src/xrm/Section.ts @@ -39,7 +39,7 @@ export class Section { const section = tab.sections.get(sectionName); return { - isVisible: section.getVisible() + isVisible: section.getVisible() && tab.getVisible() }; }, [tabName, sectionName]); }