Skip to content

Commit

Permalink
Removed special even-odd classes since we use pseudo for them
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 5, 2018
1 parent f3f4040 commit 74b42b7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/datatable/BodyRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ export class BodyRow extends Component {
let columns = React.Children.toArray(this.props.children);
let conditionalStyles = {
'p-highlight': this.props.selected,
'p-highlight-contextmenu': this.props.contextMenuSelected,
'p-datatable-even': (this.props.rowIndex % 2 === 0),
'p-datatable-odd': (this.props.rowIndex % 2 === 1)
'p-highlight-contextmenu': this.props.contextMenuSelected
};

if(this.props.rowClassName) {
Expand Down

0 comments on commit 74b42b7

Please sign in to comment.