From 66676f009dee7a18953c6522ac59c103d206dafc Mon Sep 17 00:00:00 2001 From: jazzari Date: Mon, 15 Jan 2024 14:36:07 -0300 Subject: [PATCH 1/4] 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 From 4c58aea47a712aa1a6d91efbc6e886a5517c3b7f Mon Sep 17 00:00:00 2001 From: jazzari Date: Mon, 15 Jan 2024 14:50:11 -0300 Subject: [PATCH 2/4] fix: agregada linea segun CI:haml #14949 --- app/views/schemas/_row.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/schemas/_row.haml b/app/views/schemas/_row.haml index 8c91fe1e..40d2fec7 100644 --- a/app/views/schemas/_row.haml +++ b/app/views/schemas/_row.haml @@ -11,4 +11,6 @@ - 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 + + = render 'schemas/row', schema: s, site: site, filter: filter, + parent_schema: schema From 2796d3f2ca6bb2881b4d0dcdb7c03d713e6f9905 Mon Sep 17 00:00:00 2001 From: jazzari Date: Mon, 15 Jan 2024 15:11:55 -0300 Subject: [PATCH 3/4] fix: quitada linea agregada segun CI:haml #14949 --- app/views/schemas/_row.haml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/schemas/_row.haml b/app/views/schemas/_row.haml index 40d2fec7..48fd0ee7 100644 --- a/app/views/schemas/_row.haml +++ b/app/views/schemas/_row.haml @@ -11,6 +11,5 @@ - 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 From 1130bb791c70ff008e4e85eda48528d44ba5fd86 Mon Sep 17 00:00:00 2001 From: jazzari Date: Tue, 26 Mar 2024 15:01:59 -0300 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20borrado=20espacio=20extra=20en=20l?= =?UTF-8?q?=C3=ADnea=2014=20de=20=5Frow.haml=20#14949?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/schemas/_row.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/schemas/_row.haml b/app/views/schemas/_row.haml index 48fd0ee7..ece07727 100644 --- a/app/views/schemas/_row.haml +++ b/app/views/schemas/_row.haml @@ -11,5 +11,5 @@ - 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 + = render 'schemas/row', schema: s, site: site, filter: filter, parent_schema: schema +