Skip to content

Commit b2eba16

Browse files
committed
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
1 parent 53c2be7 commit b2eba16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/tacos/analyze.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% if @suggestions.present? %>
1+
<% if @suggestions.present? && !Flipflop.enabled?(:gdt)%>
22
<div id="hint" aria-live="polite">
33
<aside class="mitlib-suggestion-panel">
44
<div class="panel-content">

0 commit comments

Comments
 (0)