mirror of
https://github.com/harness/drone.git
synced 2025-05-09 05:00:06 +08:00
Fix Commits order (#1110)
This commit is contained in:
parent
3d7085947f
commit
18ba322dbe
@ -30,7 +30,7 @@ import {
|
||||
import { Icon } from '@harnessio/icons'
|
||||
import { Color, FontVariation } from '@harnessio/design-system'
|
||||
import type { CellProps, Column } from 'react-table'
|
||||
import { defaultTo, orderBy } from 'lodash-es'
|
||||
import { defaultTo } from 'lodash-es'
|
||||
import { Link, useHistory } from 'react-router-dom'
|
||||
import { useStrings } from 'framework/strings'
|
||||
import { useAppContext } from 'AppContext'
|
||||
@ -264,7 +264,7 @@ export function CommitsView({
|
||||
className={css.table}
|
||||
hideHeaders
|
||||
columns={columns}
|
||||
data={orderBy(commitsByDate || [], ['committer.when'], ['desc'])}
|
||||
data={commitsByDate || []}
|
||||
getRowClassName={() => css.row}
|
||||
/>
|
||||
</ThreadSection>
|
||||
|
Loading…
Reference in New Issue
Block a user