Skip to content

Commit 9e0b027

Browse files
committed
crate.version: Remove badges from the sidebar
1 parent 16460d2 commit 9e0b027

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

app/controllers/crate/version.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export default Controller.extend({
2525

2626
keywords: alias('crate.keywords'),
2727
categories: alias('crate.categories'),
28-
badges: alias('crate.badges'),
2928
isOwner: computed('crate.owner_user', 'session.currentUser.id', function () {
3029
return this.get('crate.owner_user').findBy('id', this.get('session.currentUser.id'));
3130
}),

app/templates/crate/version.hbs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@
7676
<div>
7777
<div local-class='last-update'>Last Updated</div>
7878
<div local-class='{{if this.currentVersion.crate_size 'date-with-small-margin-bot' 'date'}}'>{{moment-from-now this.crate.updated_at}}</div>
79-
{{#each this.crate.annotated_badges as |badge|}}
80-
<p>
81-
{{component badge.component_name badge=badge}}
82-
</p>
83-
{{/each}}
8479
</div>
8580

8681
{{#if this.currentVersion.crate_size}}

0 commit comments

Comments
 (0)