Skip to content

Commit

Permalink
Revert "FIx ELIXIR-Belgium#43"
Browse files Browse the repository at this point in the history
This reverts commit f647ff5.
  • Loading branch information
vdkkia committed Jun 15, 2022
1 parent 28bc21d commit b783ce9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions app/helpers/sample_types_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,7 @@ def attribute_type_link(sample_type_attribute)
end

if sample_type_attribute.controlled_vocab?
title =
if sample_type_attribute.sample_attribute_type.ontology?
sample_type_attribute.sample_controlled_vocab.ols_root_term_uri
else
sample_type_attribute.sample_controlled_vocab.title
end
type += ' - ' + link_to(title, sample_type_attribute.sample_controlled_vocab)
type += ' - ' + link_to(sample_type_attribute.sample_controlled_vocab.title, sample_type_attribute.sample_controlled_vocab)
end
type
end
Expand Down

0 comments on commit b783ce9

Please sign in to comment.