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 @@ -17,7 +17,6 @@ export default class Version extends Model {
17
17
18
18
@belongsTo ( 'crate' , { async : false } ) crate ;
19
19
20
- @hasMany ( 'users' , { async : true } ) authors ;
21
20
@hasMany ( 'dependency' , { async : true } ) dependencies ;
22
21
@hasMany ( 'version-download' , { async : true } ) version_downloads ;
23
22
@@ -26,15 +25,6 @@ export default class Version extends Model {
26
25
} )
27
26
crateName ;
28
27
29
- @alias ( 'loadAuthorsTask.last.value' ) authorNames ;
30
-
31
- @( task ( function * ( ) {
32
- // trigger the async relationship to load the content
33
- let authors = yield this . authors ;
34
- return authors . meta . names ;
35
- } ) . keepLatest ( ) )
36
- loadAuthorsTask ;
37
-
38
28
@alias ( 'loadDepsTask.last.value.normal' ) normalDependencies ;
39
29
@alias ( 'loadDepsTask.last.value.build' ) buildDependencies ;
40
30
@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
Original file line number Diff line number Diff line change 123
123
{{ /each }}
124
124
</ul >
125
125
</div >
126
-
127
- <div >
128
- <h3 >Authors</h3 >
129
- <ul >
130
- {{ #each this.currentVersion.authorNames as |author |}}
131
- <li >{{ format-email author }} </li >
132
- {{ /each }}
133
- </ul >
134
- </div >
135
126
</div >
136
127
137
128
<div local-class =' bottom' >
You can’t perform that action at this time.
0 commit comments