From 7730d4976fc038dc1da8d467101332ac69cdbf04 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sun, 18 Sep 2022 22:58:03 +0200 Subject: [PATCH] fix(lab): Don't check for render in paths --- sites/shared/components/workbench/draft/path/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/shared/components/workbench/draft/path/index.js b/sites/shared/components/workbench/draft/path/index.js index 84e0d2e3513..5ff761bfc6f 100644 --- a/sites/shared/components/workbench/draft/path/index.js +++ b/sites/shared/components/workbench/draft/path/index.js @@ -496,7 +496,7 @@ const XrayPath = props => { const Path = props => { const { path, partName, pathName } = props - if (!path.render) return null + if (path.hidden) return null const output = [] const pathId = 'path-' + partName + '-' + pathName let d = ''