fix chartHistory sort.
This commit is contained in:
parent
c113629b8c
commit
4f3af39d4c
@ -591,7 +591,7 @@ History.prototype.getCharts = function()
|
|||||||
if(this._callback !== null)
|
if(this._callback !== null)
|
||||||
{
|
{
|
||||||
var chartHistory = _( this._items )
|
var chartHistory = _( this._items )
|
||||||
.sortBy( 'height', false )
|
.orderBy( 'height', "desc" )
|
||||||
// .filter(function (item)
|
// .filter(function (item)
|
||||||
// {
|
// {
|
||||||
// return item.block.trusted;
|
// return item.block.trusted;
|
||||||
|
Loading…
Reference in New Issue
Block a user