diff --git a/app/components/crate-sidebar.hbs b/app/components/crate-sidebar.hbs index 38670e4fa18..e1eb75e2724 100644 --- a/app/components/crate-sidebar.hbs +++ b/app/components/crate-sidebar.hbs @@ -105,15 +105,6 @@ {{/each}} - -
-

Authors

- -
diff --git a/app/models/version.js b/app/models/version.js index da0a378ad49..8ddf365f1f7 100644 --- a/app/models/version.js +++ b/app/models/version.js @@ -25,7 +25,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; @@ -97,15 +96,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 605a42a5f6d..cb1e9215f79 100644 --- a/app/routes/crate/version.js +++ b/app/routes/crate/version.js @@ -33,9 +33,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