From 66676f009dee7a18953c6522ac59c103d206dafc Mon Sep 17 00:00:00 2001 From: jazzari Date: Mon, 15 Jan 2024 14:36:07 -0300 Subject: [PATCH] fix: corregido ocultar schema si es de subnivel #14949 --- app/views/schemas/_row.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/schemas/_row.haml b/app/views/schemas/_row.haml index 1d1fca87..8c91fe1e 100644 --- a/app/views/schemas/_row.haml +++ b/app/views/schemas/_row.haml @@ -10,4 +10,5 @@ -# XXX: Solo un nivel de recursividad - unless local_assigns[:parent_schema] - schema.schemas.each do |s| + - next if s.hidden? = render 'schemas/row', schema: s, site: site, filter: filter, parent_schema: schema