mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 12:43:06 +08:00
fix CR comments
This commit is contained in:
parent
74b4e0d774
commit
37cc526ac9
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@
|
|||
.protocol-card {
|
||||
border-bottom: 1px solid $color-gainsboro;
|
||||
margin-right: 20px;
|
||||
padding: 12px 11px 12px 11px;
|
||||
padding: 12px 11px;
|
||||
|
||||
&.active {
|
||||
border: 2px solid $brand-primary;
|
||||
|
|
|
@ -10,7 +10,7 @@ class ExternalProtocolsController < ApplicationController
|
|||
.call(protocol_source: index_params[:protocol_source],
|
||||
query_params: index_params)
|
||||
if service_call.succeed?
|
||||
show_import_button = current_user.is_normal_user_or_admin_of_team?(current_team)
|
||||
show_import_button = can_create_protocols_in_repository?(@team)
|
||||
render json: {
|
||||
html: render_to_string(
|
||||
partial: 'protocol_importers/list_of_protocol_cards.html.erb',
|
||||
|
|
Loading…
Reference in a new issue