Skip to content

Commit

Permalink
fix processor more button
Browse files Browse the repository at this point in the history
would only show top level analysis if not logged in
  • Loading branch information
dale-wahl committed Jul 11, 2024
1 parent d6ab2b0 commit 4323946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webtool/templates/components/result-child.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h4>{{ processors[item.type].title if not deprecated else "(Deprecated analysis)

{# 'More' button to show further analysis and preview #}
<div class="processor-expand button-wrap">
{% if current_user.is_authenticated and item.is_finished() and (item.children or (item.num_rows > 0 and item.get_available_processors(exclude_hidden=True))) %}
{% if item.is_finished() and (item.children or (item.num_rows > 0 and current_user.is_authenticated and item.get_available_processors(exclude_hidden=True))) %}
<button aria-controls="child-{{ item.key }}-details" class="toggle-button">
<span class="headline">
<i class="fa fa-sitemap" aria-hidden="true"></i> <span class="sr-only">More info</span>
Expand Down

0 comments on commit 4323946

Please sign in to comment.