File tree 3 files changed +0
-22
lines changed
3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 67
67
{{ /each }}
68
68
</ul >
69
69
</div >
70
-
71
- <div >
72
- <h3 >Authors</h3 >
73
- <ul >
74
- {{ #each @version.authorNames as |author |}}
75
- <li >{{ format-email author }} </li >
76
- {{ /each }}
77
- </ul >
78
- </div >
79
70
</div >
80
71
81
72
<div local-class =' bottom' >
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ export default class Version extends Model {
19
19
20
20
@belongsTo ( 'crate' , { async : false } ) crate ;
21
21
22
- @hasMany ( 'users' , { async : true } ) authors ;
23
22
@hasMany ( 'dependency' , { async : true } ) dependencies ;
24
23
@hasMany ( 'version-download' , { async : true } ) version_downloads ;
25
24
@@ -28,15 +27,6 @@ export default class Version extends Model {
28
27
} )
29
28
crateName ;
30
29
31
- @alias ( 'loadAuthorsTask.last.value' ) authorNames ;
32
-
33
- @( task ( function * ( ) {
34
- // trigger the async relationship to load the content
35
- let authors = yield this . authors ;
36
- return authors . meta . names ;
37
- } ) . keepLatest ( ) )
38
- loadAuthorsTask ;
39
-
40
30
@alias ( 'loadDepsTask.last.value.normal' ) normalDependencies ;
41
31
@alias ( 'loadDepsTask.last.value.build' ) buildDependencies ;
42
32
@alias ( 'loadDepsTask.last.value.dev' ) devDependencies ;
Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ export default class VersionRoute extends Route {
32
32
super . setupController ( ...arguments ) ;
33
33
34
34
model . version . loadDepsTask . perform ( ) ;
35
- if ( ! model . version . authorNames ) {
36
- model . version . loadAuthorsTask . perform ( ) ;
37
- }
38
35
39
36
controller . loadReadmeTask . perform ( ) . catch ( ( ) => {
40
37
// ignored
You can’t perform that action at this time.
0 commit comments