From 574f24834bc4b47d17ada16d327e46bda0daf3ba Mon Sep 17 00:00:00 2001 From: Phil Schanely Date: Mon, 3 Oct 2022 12:02:16 -0400 Subject: [PATCH 1/2] fix(table): ensure `responsive: false` turns off responsive features on SageTable --- .../sage_rails/app/views/sage_components/_sage_table.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/lib/sage_rails/app/views/sage_components/_sage_table.html.erb b/docs/lib/sage_rails/app/views/sage_components/_sage_table.html.erb index b498aabe64..dbe230e203 100644 --- a/docs/lib/sage_rails/app/views/sage_components/_sage_table.html.erb +++ b/docs/lib/sage_rails/app/views/sage_components/_sage_table.html.erb @@ -1,5 +1,6 @@ <% -is_responsive = component.responsive.present? ? component.responsive : true +# NOTE: Default to `true` unless `component.responsive` is set to `false` +is_responsive = component.responsive != false %>