-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix comment ordering and add support for edge case (#3051)
- Loading branch information
1 parent
e04b5e8
commit 8745d14
Showing
6 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ export const platformReportData: Report = deepFreeze({ | |
last_paid_at: null, | ||
last_resubmitted_at: null, | ||
last_submitted_at: null, | ||
next_approver_user_ids: null, | ||
next_approver_user_ids: ['us0wOWkksndvkdv'], | ||
num_expenses: 0, | ||
org_id: 'orNVthTo2Zyo', | ||
purpose: '#3: Jul 2023 - Office expense', | ||
|
@@ -137,7 +137,7 @@ export const allReportsPaginated1: PlatformApiResponse<Report[]> = deepFreeze({ | |
}, | ||
{ | ||
comment: 'aaac', | ||
created_at: new Date('2024-05-22T07:32:19.199048+00:00'), | ||
created_at: new Date('2024-05-22T07:33:20.199048+00:00'), | ||
creator_user: { | ||
email: '[email protected]', | ||
full_name: 'Aastha', | ||
|
@@ -148,7 +148,7 @@ export const allReportsPaginated1: PlatformApiResponse<Report[]> = deepFreeze({ | |
}, | ||
{ | ||
comment: 'aaa', | ||
created_at: new Date('2024-05-23T07:32:19.199048+00:00'), | ||
created_at: new Date('2024-05-23T07:34:21.199048+00:00'), | ||
creator_user: { | ||
email: '[email protected]', | ||
full_name: 'Aastha', | ||
|
@@ -204,7 +204,7 @@ export const allReportsPaginated1: PlatformApiResponse<Report[]> = deepFreeze({ | |
last_paid_at: null, | ||
last_resubmitted_at: null, | ||
last_submitted_at: new Date('2023-02-01T13:02:35.097839+00:00'), | ||
next_approver_user_ids: null, | ||
next_approver_user_ids: ['us0wOWkksndvkdv'], | ||
num_expenses: 0, | ||
org_id: 'orNVthTo2Zyo', | ||
purpose: '#8: Jan 2023', | ||
|
@@ -682,7 +682,7 @@ export const submittedReportData: Report = deepFreeze({ | |
}, | ||
{ | ||
comment: 'aaac', | ||
created_at: new Date('2024-05-22T07:32:19.199048+00:00'), | ||
created_at: new Date('2024-05-22T07:33:20.199048+00:00'), | ||
creator_user: { | ||
email: '[email protected]', | ||
full_name: 'Aastha', | ||
|
@@ -693,7 +693,7 @@ export const submittedReportData: Report = deepFreeze({ | |
}, | ||
{ | ||
comment: 'aaa', | ||
created_at: new Date('2024-05-23T07:32:19.199048+00:00'), | ||
created_at: new Date('2024-05-23T07:34:21.199048+00:00'), | ||
creator_user: { | ||
email: '[email protected]', | ||
full_name: 'Aastha', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2020,7 +2020,7 @@ export const userComments: ExtendedComment[] = deepFreeze([ | |
}, | ||
{ | ||
comment: 'aaac', | ||
created_at: new Date('2024-05-22T07:32:19.199048+00:00'), | ||
created_at: new Date('2024-05-22T07:33:20.199048+00:00'), | ||
creator_user: { | ||
email: '[email protected]', | ||
full_name: 'Aastha', | ||
|
@@ -2035,7 +2035,7 @@ export const userComments: ExtendedComment[] = deepFreeze([ | |
}, | ||
{ | ||
comment: 'aaa', | ||
created_at: new Date('2024-05-23T07:32:19.199048+00:00'), | ||
created_at: new Date('2024-05-23T07:34:21.199048+00:00'), | ||
creator_user: { | ||
email: '[email protected]', | ||
full_name: 'Aastha', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters