Skip to content

Commit 12edd6f

Browse files
committed
templates: Replace my-crate-list template with crate-downloads-list component
1 parent d1a9dd1 commit 12edd6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/templates/my-crate-list.hbs renamed to app/templates/components/crate-downloads-list.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ul>
2-
{{#each this as |crate|}}
2+
{{#each crates as |crate|}}
33
<li>
44
{{#link-to 'crate' crate class='name'}}
55
{{ crate.name }} ({{ crate.max_version }})

app/templates/dashboard.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</span>
1919
{{/if}}
2020
</div>
21-
{{render "my-crate-list" visibleCrates}}
21+
{{crate-downloads-list crates=visibleCrates}}
2222
</div>
2323
<div id='my-following'>
2424
<div class='header'>
@@ -33,7 +33,7 @@
3333
</span>
3434
{{/if}}
3535
</div>
36-
{{render "my-crate-list" visibleFollowing}}
36+
{{crate-downloads-list crates=visibleFollowing}}
3737
</div>
3838
</div>
3939

0 commit comments

Comments
 (0)