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 5454 </nav .Tab>
5555
5656 <nav .Tab @link ={{ link " crate.versions" @crate }} data-test-versions-tab>
57- {{ pluralize @crate.versions.length " Version" }}
57+ {{ pluralize @crate.num_versions " Version" }}
5858 </nav .Tab>
5959
6060 <nav .Tab
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export default class Crate extends Model {
1818 * @type {string | null }
1919 */
2020 @attr default_version ;
21+ @attr num_versions ;
2122 @attr yanked ;
2223 @attr max_version ;
2324 @attr max_stable_version ;
Original file line number Diff line number Diff line change 22
33<div local-class =" results-meta" >
44 <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 >
66 versions of <strong >{{ this.model.name }} </strong > since
77 {{ date-format this.model.created_at ' PPP' }}
88 </span >
You can’t perform that action at this time.
0 commit comments