From b2eba1646205561312ad658cc9c7f7b16f4c53d3 Mon Sep 17 00:00:00 2001 From: Jeremy Prevost Date: Tue, 21 Oct 2025 08:46:19 -0400 Subject: [PATCH] Remove suggestions when GDT is enabled Why are these changes being introduced: * GDT views were not intended to show suggestions at this time * We accidentally left them in when enabling GDT because they share the same TACOS partial as regular views Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/USE-123 How does this address that need: * Adds a GDT feature flag check around the partial that displays suggestions in TACOS analyze view --- app/views/tacos/analyze.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tacos/analyze.html.erb b/app/views/tacos/analyze.html.erb index 02af858..ee7f98d 100644 --- a/app/views/tacos/analyze.html.erb +++ b/app/views/tacos/analyze.html.erb @@ -1,4 +1,4 @@ -<% if @suggestions.present? %> +<% if @suggestions.present? && !Flipflop.enabled?(:gdt)%>