Skip to content

Commit

Permalink
fix: sipcapture/homer#625 used tsNs field for sorting of messages
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Jan 9, 2024
1 parent 616ea43 commit 84c9936
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 84c9936

Please sign in to comment.