Skip to content

Commit 5048d31

Browse files
committed
Auto merge of #4284 - Turbo87:fix-download-graph, r=Turbo87
crate.version: Fix `downloads` alias The reference to the `HasManyArray` never changes, so the download graph is not rerendered with Ember Data v4. We pass the `content` value of the Promise into the component instead to fix this.
2 parents 45120bf + e2398df commit 5048d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/crate/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default class CrateVersionController extends Controller {
1111
return this.requestedVersion ? this.currentVersion : this.crate;
1212
}
1313

14-
@alias('downloadsContext.version_downloads') downloads;
14+
@alias('downloadsContext.version_downloads.content') downloads;
1515
@alias('model.crate') crate;
1616
@alias('model.requestedVersion') requestedVersion;
1717
@alias('model.version') currentVersion;

0 commit comments

Comments
 (0)