Skip to content

Commit

Permalink
chore(1151): Modified end date default value to be the same as the st…
Browse files Browse the repository at this point in the history
…art date (#1161)
  • Loading branch information
1AhmedYasser authored Feb 4, 2025
1 parent f9e38a1 commit 55728fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions GUI/src/pages/Chat/ChatHistory/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const ChatHistory: FC = () => {
: new Date(
new Date().getUTCFullYear(),
new Date().getUTCMonth(),
new Date().getUTCDate() + 1
new Date().getUTCDate()
),
},
});
Expand Down Expand Up @@ -141,7 +141,8 @@ const ChatHistory: FC = () => {
getAllEndedChats.mutate({
startDate: format(new Date(startDate), 'yyyy-MM-dd'),
endDate: format(new Date(endDate), 'yyyy-MM-dd'),
updatedPagination,
customerSupportIds: passedCustomerSupportIds,
pagination: updatedPagination,
sorting,
search,
});
Expand Down

0 comments on commit 55728fd

Please sign in to comment.