Organization settings (org. admin) - allowing the use of protocols for AI [SCI-9324]

This commit is contained in:
Giga Chubinidze 2023-09-29 11:51:25 +04:00
parent 80afa31632
commit 005bf93197

View file

@ -26,7 +26,7 @@
data-team-id="<%= @current_team.id %>" data-import-url="<%= import_protocols_path %>">
</a>
</li>
<% if Protocol.docx_parser_enabled?%>
<% if Protocol.docx_parser_enabled? && !ApplicationSettings.instance.values['ai_learning_enabled'].nil? %>
<li>
<a class="btn-open-file btn-beta-icon !pl-3 !py-2.5 hover:!bg-sn-super-light-blue !text-sn-blue rounded data-action='import'" >
<span><%= t('protocols.index.import_docx')%></span>