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:
parent
fb6945914c
commit
60d4ce8eaf
@ -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 (
|
||||||
|
@ -6,7 +6,6 @@ class TableColumnItem {
|
|||||||
this.rowWidth = rowWidth;
|
this.rowWidth = rowWidth;
|
||||||
this.canBeOrdered = canBeOrdered;
|
this.canBeOrdered = canBeOrdered;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default TableColumnItem;
|
export default TableColumnItem;
|
Loading…
Reference in New Issue
Block a user