Skip to content

Commit

Permalink
Merge pull request #47 from metrico/develop
Browse files Browse the repository at this point in the history
fix: sipcapture/homer#625 used tsNs field for sorting of messages
  • Loading branch information
RFbkak37y3kIY authored Jan 9, 2024
2 parents 616ea43 + 84c9936 commit 366ab78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SimplePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ function formattingDataAndSortIt(data: any, sortType = 'none') {
return unSortData;
}
const sortData = unSortData.sort((itemA: any, itemB: any) => {
const a = itemA.Time;
const b = itemB.Time;
const a = itemA.tsNs;
const b = itemB.tsNs;
return a < b ? -1 : a > b ? 1 : 0;
});
if (sortType === 'time_old') {
Expand Down

0 comments on commit 366ab78

Please sign in to comment.