Skip to content

Commit c001a06

Browse files
SUPERCILEXmexus
authored andcommitted
Don't show unknown tier list if there are none
Signed-off-by: Alex Saveau <[email protected]>
1 parent 84cd785 commit c001a06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ <h3 class="text-center">{{tier_info.0}}</h3>
8080
{{/each}}
8181
</div>
8282
</div>
83+
{{#if additional.tiers.unknown_tier}}
8384
<h2 class="text-center">Unknown tier targets</h2>
8485
<div class="container">
8586
<div class="row">
@@ -92,6 +93,7 @@ <h2 class="text-center">Unknown tier targets</h2>
9293
</div>
9394
</div>
9495
</div>
96+
{{/if}}
9597
<div class="card-footer text-muted bg-transparent text-center">
9698
<p>Generated at {{additional.datetime}}</p>
9799
<p>Contributions are <a href="https://github.com/rust-lang/rustup-components-history">welcome</a>!

0 commit comments

Comments
 (0)