mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 17:09:45 +08:00
Fix importing from local file [SCI-7594] (#4874)
This commit is contained in:
parent
7f3999fa4f
commit
93f6403ea2
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue