fix: hide search for single thread discussion

This commit is contained in:
Jannat Patel 2022-03-07 11:41:50 +05:30
parent 68f84b2645
commit 0c1c217004

View file

@ -9,7 +9,7 @@
<div class="discussions-header">
<span class="discussion-heading">{{ _(title) }}</span>
{% if topics | length %}
{% if topics | length and not single_thread %}
{% include "frappe/templates/discussions/search.html" %}
{% endif %}
{% if topics and not single_thread %}