-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not render filter-section for empty source sets (#2858)
Regression from #2848
- Loading branch information
1 parent
e8423ec
commit daed35f
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
plugins/base/src/main/resources/dokka/templates/includes/source_set_selector.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<#macro display> | ||
<#if sourceSets??> | ||
<#if sourceSets?has_content> | ||
<div class="filter-section" id="filter-section"> | ||
<#list sourceSets as ss> | ||
<button class="platform-tag platform-selector ${ss.platform}-like" data-active="" data-filter="${ss.filter}">${ss.name}</button> | ||
</#list> | ||
</div> | ||
</#if> | ||
</#macro> | ||
</#macro> |