File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 54
54
</nav .Tab>
55
55
56
56
<nav .Tab @link ={{ link " crate.versions" @crate }} data-test-versions-tab>
57
- {{ pluralize @crate.versions.length " Version" }}
57
+ {{ pluralize @crate.num_versions " Version" }}
58
58
</nav .Tab>
59
59
60
60
<nav .Tab
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export default class Crate extends Model {
18
18
* @type {string | null }
19
19
*/
20
20
@attr default_version ;
21
+ @attr num_versions ;
21
22
@attr yanked ;
22
23
@attr max_version ;
23
24
@attr max_stable_version ;
Original file line number Diff line number Diff line change 2
2
3
3
<div local-class =" results-meta" >
4
4
<span local-class =" page-description" data-test-page-description>
5
- All <strong >{{ this.model.versions.length }} </strong >
5
+ All <strong >{{ this.model.num_versions }} </strong >
6
6
versions of <strong >{{ this.model.name }} </strong > since
7
7
{{ date-format this.model.created_at ' PPP' }}
8
8
</span >
You can’t perform that action at this time.
0 commit comments