Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Jul 11, 2024
2 parents 2504c37 + 4323946 commit eeb1dde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions datasources/gab/search_gab.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Import scraped Gab data
"""
import datetime
import re

from backend.lib.search import Search
from common.lib.item_mapping import MappedItem


class SearchGab(Search):
Expand Down Expand Up @@ -79,4 +79,4 @@ def map_item(post):
"timestamp": post_time.strftime("%Y-%m-%d %H:%M:%S")
}

return mapped_item
return MappedItem(mapped_item)
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 eeb1dde

Please sign in to comment.