From 0d8b53ade517184c0b3560783afa98dcb05d8d5a Mon Sep 17 00:00:00 2001 From: Travis Ravert Date: Thu, 2 Nov 2023 17:18:25 -0400 Subject: [PATCH] display modal if prefill_templates not empty --- .../session_contexts/_prefill_templates.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/app/views/batch_connect/session_contexts/_prefill_templates.html.erb b/apps/dashboard/app/views/batch_connect/session_contexts/_prefill_templates.html.erb index ee741fc634..9a90d3352d 100644 --- a/apps/dashboard/app/views/batch_connect/session_contexts/_prefill_templates.html.erb +++ b/apps/dashboard/app/views/batch_connect/session_contexts/_prefill_templates.html.erb @@ -1,10 +1,10 @@ -<%- if @prefill_templates.key?(:prefill_templates) -%> +<%- unless @prefill_templates.empty? -%>