quickfix
This commit is contained in:
parent
63df815dd9
commit
f48e3d0db8
@ -4,8 +4,8 @@ import Status from '../status/status.vue'
|
||||
const sortById = (a, b) => {
|
||||
const seqA = Number(a.action.id)
|
||||
const seqB = Number(b.action.id)
|
||||
const isSeqA = Number.isNaN(seqA)
|
||||
const isSeqB = Number.isNaN(seqB)
|
||||
const isSeqA = !Number.isNaN(seqA)
|
||||
const isSeqB = !Number.isNaN(seqB)
|
||||
if (isSeqA && isSeqB) {
|
||||
return seqA > seqB ? -1 : 1
|
||||
} else if (isSeqA && !isSeqB) {
|
||||
|
@ -84,8 +84,8 @@ const mergeOrAdd = (arr, obj, item) => {
|
||||
const sortById = (a, b) => {
|
||||
const seqA = Number(a.id)
|
||||
const seqB = Number(b.id)
|
||||
const isSeqA = Number.isNaN(seqA)
|
||||
const isSeqB = Number.isNaN(seqB)
|
||||
const isSeqA = !Number.isNaN(seqA)
|
||||
const isSeqB = !Number.isNaN(seqB)
|
||||
if (isSeqA && isSeqB) {
|
||||
return seqA > seqB ? -1 : 1
|
||||
} else if (isSeqA && !isSeqB) {
|
||||
|
@ -12,8 +12,8 @@ export const visibleTypes = store => ([
|
||||
const sortById = (a, b) => {
|
||||
const seqA = Number(a.action.id)
|
||||
const seqB = Number(b.action.id)
|
||||
const isSeqA = Number.isNaN(seqA)
|
||||
const isSeqB = Number.isNaN(seqB)
|
||||
const isSeqA = !Number.isNaN(seqA)
|
||||
const isSeqB = !Number.isNaN(seqB)
|
||||
if (isSeqA && isSeqB) {
|
||||
return seqA > seqB ? -1 : 1
|
||||
} else if (isSeqA && !isSeqB) {
|
||||
|
Loading…
Reference in New Issue
Block a user