We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6d45a9 + 7d725ca commit ee8f238Copy full SHA for ee8f238
app/routes/crate/index.js
@@ -52,11 +52,7 @@ export default Ember.Route.extend({
52
});
53
54
}).then(() => {
55
- if (controller.get('requestedVersion')) {
56
- return controller.get('currentVersion.version_downloads');
57
- } else {
58
- return controller.get('model.version_downloads');
59
- }
+ return controller.get('model.version_downloads');
60
}).then((downloads) => {
61
var meta = downloads.get('meta');
62
controller.set('fetchingDownloads', false);
0 commit comments