Skip to content

Commit 6b91c34

Browse files
committed
Don't emit empty class attributes on trs
1 parent 15ad006 commit 6b91c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/keyed/ember/src/components/the-table.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class TheTable extends Component {
99
<table class="table table-hover table-striped test-data">
1010
<tbody>
1111
{{#each this.state.data as |row|}}
12-
<tr class={{if (this.state.isSelected row) "danger" ""}}><td
12+
<tr class={{if (this.state.isSelected row) "danger"}}><td
1313
class="col-md-1"
1414
>{{row.id}}</td><td class="col-md-4"><a
1515
onclick={{fn this.state.select row}}

0 commit comments

Comments
 (0)