fix CR comments

This commit is contained in:
Miha Mencin 2019-07-03 10:22:59 +02:00
parent 74b4e0d774
commit 37cc526ac9
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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',