Fix importing from local file [SCI-7594] (#4874)

This commit is contained in:
ajugo 2023-01-23 14:23:27 +01:00 committed by GitHub
parent 7f3999fa4f
commit 93f6403ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
<input type="file" value="" accept=".eln" data-role="import-file-input"
data-team-id="<%= @current_team.id %>"
data-type="<%= @type %>" data-import-url="<%= import_protocols_path %>"
<%= 'disabled="disabled"' unless false %>>
<%= 'disabled="disabled"' unless can_create_protocols_in_repository?(@current_team) %>>
</a>
</li>
<li>