1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

fix direction of carret

This commit is contained in:
Tim Daubenschütz 2015-05-21 16:06:16 +02:00
parent fb6945914c
commit 60d4ce8eaf
2 changed files with 2 additions and 3 deletions

View File

@ -9,9 +9,9 @@ let TableHeaderItemCarret = React.createClass({
let carretDirection = 'glyphicon-triangle-'; let carretDirection = 'glyphicon-triangle-';
if(this.props.orderAsc) { if(this.props.orderAsc) {
carretDirection += 'top';
} else {
carretDirection += 'bottom'; carretDirection += 'bottom';
} else {
carretDirection += 'top';
} }
return ( return (

View File

@ -6,7 +6,6 @@ class TableColumnItem {
this.rowWidth = rowWidth; this.rowWidth = rowWidth;
this.canBeOrdered = canBeOrdered; this.canBeOrdered = canBeOrdered;
} }
} }
export default TableColumnItem; export default TableColumnItem;