Skip to content

Commit 7fbec76

Browse files
committed
crate-row: Move data-test-crate-row property into the template
1 parent f1ae622 commit 7fbec76

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/components/crate-row.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ export default Component.extend({
66
crateTomlText: computed('crate.name', 'max_version', function() {
77
return `${this.get('crate.name')} = "${this.get('crate.max_version')}"`;
88
}),
9-
10-
'data-test-crate-row': true,
119
});

app/templates/components/crate-row.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="crate row" ...attributes>
1+
<div class="crate row" data-test-crate-row ...attributes>
22
<div class='desc'>
33
<div class='info'>
44
<LinkTo @route="crate" @model={{this.crate.id}} data-test-crate-link>{{ this.crate.name }}</LinkTo>

0 commit comments

Comments
 (0)