fix: show community in global question timelines
This commit is contained in:
parent
063e33899e
commit
bc95f0aaf0
3 changed files with 3 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
|||
<div class="card tertiary flex flex-col gap-4">
|
||||
<!-- prettier-ignore -->
|
||||
{% for question in feed %}
|
||||
{{ components::global_question(question=question, can_manage_questions=can_manage_questions) }}
|
||||
{{ components::global_question(question=question, can_manage_questions=can_manage_questions, show_community=false) }}
|
||||
{% endfor %}
|
||||
|
||||
{{ components::pagination(page=page, items=feed|length) }}
|
||||
|
|
|
@ -699,10 +699,10 @@ is_global=false) -%}
|
|||
}
|
||||
</script>
|
||||
{%- endmacro %} {% macro global_question(question, can_manage_questions=false,
|
||||
secondary=false) -%}
|
||||
secondary=false, show_community=true) -%}
|
||||
<div class="card-nest">
|
||||
{{ components::question(question=question[0], owner=question[1],
|
||||
show_community=false) }}
|
||||
show_community=show_community) }}
|
||||
|
||||
<div
|
||||
class="card flex flex-wrap gap-2{% if secondary %} secondary{% endif %}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue