FEATURE: allow plugins to show custom HTML via renderTags (#11520)

This commit allows discourse-assign plugin to show custom HTML via
renderTags even if topic has no tags.
This commit is contained in:
Arpit Jalan 2020-12-18 09:42:42 +05:30 committed by GitHub
parent 843f8c67b2
commit f296ca4b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@
{{category-link result.topic.category.parentCategory}} {{category-link result.topic.category.parentCategory}}
{{/if}} {{/if}}
{{category-link result.topic.category hideParent=true}} {{category-link result.topic.category hideParent=true}}
{{#if result.topic.tags}} {{#if result.topic}}
{{discourse-tags result.topic}} {{discourse-tags result.topic}}
{{/if}} {{/if}}
{{plugin-outlet name="full-page-search-category" args=(hash result=result)}} {{plugin-outlet name="full-page-search-category" args=(hash result=result)}}