Skip to content

Commit

Permalink
fix showing duplicate mapping table
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Nov 18, 2024
1 parent 2c90e5a commit a3a2777
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/assets/javascripts/bp_mappings.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function loadMappings(value) {
}
]
});
jQuery(".mappings.index a.facebox").facebox();
});
}

Expand Down Expand Up @@ -144,4 +143,3 @@ function deleteMappings() {
}
});
}

2 changes: 1 addition & 1 deletion app/views/mappings/_count.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%td
= link_to(mapping_count[:target_ontology][:name],
mapping_path(id: @ontology.acronym, target: mapping_count[:target_ontology][:id]),
class: 'facebox')
class: 'facebox', 'data-turbo': false)
%td
= number_with_delimiter(mapping_count[:count], delimiter: ',')

Expand Down

0 comments on commit a3a2777

Please sign in to comment.