Skip to content

Commit 3ea9fa4

Browse files
committed
Auto merge of #3331 - Turbo87:obsolete-links, r=locks
Remove obsolete attributes from `crate` model These may have existed at some point, but these fields are no longer sent by the backend, so there is no point in us still handling them
2 parents e3b56d4 + 75948f8 commit 3ea9fa4

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

app/components/crate-sidebar.hbs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,6 @@
4646
/>
4747
{{/if}}
4848

49-
{{#if @crate.wiki}}
50-
<CrateSidebar::Link
51-
@title="Wiki"
52-
@url={{@crate.wiki}}
53-
/>
54-
{{/if}}
55-
56-
{{#if @crate.mailing_list}}
57-
<CrateSidebar::Link
58-
@title="Mailing list"
59-
@url={{@crate.mailing_list}}
60-
/>
61-
{{/if}}
62-
6349
{{#if @version.documentationLink}}
6450
<CrateSidebar::Link
6551
@title="Documentation"

app/models/crate.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ export default class Crate extends Model {
1414

1515
@attr description;
1616
@attr homepage;
17-
@attr wiki;
18-
@attr mailing_list;
19-
@attr issues;
2017
@attr documentation;
2118
@attr repository;
2219
@attr exact_match;

0 commit comments

Comments
 (0)