Make sure divider fields are left-most (#10627)
* Make sure divider fields are left most * Refactor
This commit is contained in:
parent
74b5cbc525
commit
736f78c3d6
|
@ -204,6 +204,12 @@
|
|||
})
|
||||
return columns
|
||||
.sort((a, b) => {
|
||||
if (a.divider) {
|
||||
return a
|
||||
}
|
||||
if (b.divider) {
|
||||
return b
|
||||
}
|
||||
const orderA = a.order || Number.MAX_SAFE_INTEGER
|
||||
const orderB = b.order || Number.MAX_SAFE_INTEGER
|
||||
const nameA = getDisplayName(a)
|
||||
|
|
Loading…
Reference in New Issue