Skip to content

Commit

Permalink
fix visits page showing an empty table
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Dec 12, 2024
1 parent d46d907 commit 80fc27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/visits/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
%tbody
- count = 0
- @analytics.onts.each do |visits|
- ont = @ontologies_hash[visits[:ont].to_s]
- ont = @ontologies_hash[visits[:ont].to_s.split('/').last]
- next if ont.nil?
- count += 1
%tr
Expand Down

0 comments on commit 80fc27d

Please sign in to comment.