diff --git a/app/components/crate-sidebar.hbs b/app/components/crate-sidebar.hbs index f323655caa9..6cdc04b60c6 100644 --- a/app/components/crate-sidebar.hbs +++ b/app/components/crate-sidebar.hbs @@ -67,15 +67,6 @@ {{/each}} - -
-

Authors

- -
diff --git a/app/models/version.js b/app/models/version.js index 262d7aca4a2..475b4200099 100644 --- a/app/models/version.js +++ b/app/models/version.js @@ -21,7 +21,6 @@ export default class Version extends Model { @belongsTo('crate', { async: false }) crate; @belongsTo('user', { async: false }) published_by; - @hasMany('users', { async: true }) authors; @hasMany('dependency', { async: true }) dependencies; @hasMany('version-download', { async: true }) version_downloads; @@ -43,15 +42,6 @@ export default class Version extends Model { .map(name => ({ name, isDefault: defaultFeatures.includes(name), dependencies: features[name] })); } - @alias('loadAuthorsTask.last.value') authorNames; - - @(task(function* () { - // trigger the async relationship to load the content - let authors = yield this.authors; - return authors.meta.names; - }).keepLatest()) - loadAuthorsTask; - @alias('loadDepsTask.last.value.normal') normalDependencies; @alias('loadDepsTask.last.value.build') buildDependencies; @alias('loadDepsTask.last.value.dev') devDependencies; diff --git a/app/routes/crate/version.js b/app/routes/crate/version.js index 319274876d7..6bab2f24df0 100644 --- a/app/routes/crate/version.js +++ b/app/routes/crate/version.js @@ -32,9 +32,6 @@ export default class VersionRoute extends Route { super.setupController(...arguments); model.version.loadDepsTask.perform(); - if (!model.version.authorNames) { - model.version.loadAuthorsTask.perform(); - } controller.loadReadmeTask.perform().catch(() => { // ignored