Revert "DEV: no need to iterate through each tag for rendering" (#11432)

This reverts commit a19a3adf9e.

Need to look into failing tests.
This commit is contained in:
Arpit Jalan 2020-12-08 20:35:46 +05:30 committed by GitHub
parent a19a3adf9e
commit f62ea77666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 12 deletions

View File

@ -104,7 +104,9 @@
{{category-link result.topic.category.parentCategory}}
{{/if}}
{{category-link result.topic.category hideParent=true}}
{{discourse-tags result.topic}}
{{#each result.topic.tags as |tag|}}
{{discourse-tag tag isPrivateMessage=isPrivateMessage}}
{{/each}}
{{plugin-outlet name="full-page-search-category" args=(hash result=result)}}
</div>
</div>

View File

@ -226,17 +226,6 @@
}
}
.discourse-tags {
flex-wrap: wrap;
display: inline-flex;
font-weight: normal;
.discourse-tag.simple {
font-size: $font-down-1;
margin-right: 0.25em;
}
}
input[type="checkbox"] {
margin-top: 0;
margin-left: 0;
@ -288,6 +277,11 @@
}
}
}
.discourse-tag.simple {
font-size: $font-down-1;
margin-right: 0.25em;
}
}
.no-results-suggestion {