DEV: Update plugin-outlet arguments (#73)

Core's defaults are changing in https://github.com/discourse/discourse/pull/13685. This commit ensures the behaviour of this plugin will not change.
This commit is contained in:
David Taylor 2022-01-06 20:33:34 +00:00 committed by GitHub
parent e56816eb50
commit 841a814bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -20,4 +20,4 @@
{{d-icon "far-comment"}} {{i18n "docs.topic.navigate_to_topic"}}
</a>
{{plugin-outlet name="after-docs-topic"}}
{{plugin-outlet name="after-docs-topic" tagName="span" connectorTagName="div"}}

View File

@ -69,7 +69,7 @@
placeholderKey="docs.tags_filter_placeholder"
}}
{{/if}}
{{plugin-outlet name="before-docs-tag-list" tagName="" args=(hash tags=tags updateSelectedTags=updateSelectedTags)}}
{{plugin-outlet name="before-docs-tag-list" tagName="" connectorTagName="div" args=(hash tags=tags updateSelectedTags=updateSelectedTags)}}
<ul>
{{#each sortedTags as |tag|}}
<li class="docs-filter-tag-{{tag.id}}">
@ -96,7 +96,7 @@
<div class="result-count no-result">
{{i18n "search.no_results"}}
</div>
{{plugin-outlet name="after-docs-empty-results"}}
{{plugin-outlet name="after-docs-empty-results" tagName="span" connectorTagName="div"}}
{{else}}
<div class="result-count">
{{i18n "docs.search.results" count=topicCount}}

View File

@ -1,6 +1,8 @@
<div class="docs">
{{plugin-outlet
name="before-docs-search"
tagName="span"
connectorTagName="div"
args=(hash
selectCategory=(action "updateSelectedCategories")
selectTag=(action "updateSelectedTags")